Open 8uurg opened 7 years ago
Ransack gem might also be of use
Recently improved searching to parse terms:
> parse_query('mode-adaptive "neural-networks" 2018')
['mode', 'adaptive', 'neural networks', '2018']
And construct boolean expressions of these terms for a complex PostgreSQL query.
https://github.com/jessetilro/research/commit/2daa94ffc6e5967a32afeb6c23df3d756d89cfe0
Elastic search offers fuzzy queries, might be interesting for the search bar, in addition to ransack: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-fuzzy-query.html
Search with boolean operators, or at least capable of searching through title, abstract, authors and so on.
Sunspot gem might help with this.