We're interested in adding an advanced search that supports queries such as: date:2020-07-22 status:completed title:foo, while also supporting a more accessible default search.
From researching online, it seems that lunr supports queries of the form title:foo* bar(meaning: search for words beginning with “foo” in the title or with “bar” in any field), which seems to fit this use-case quite well (alternatives include fuse.js, and flexsearch, but I'm unsure if they would work as well).
As part of this feature, we can persist the query string in the URL to allow you to share or bookmark a certain search.
Continuing from #117
We're interested in adding an advanced search that supports queries such as:
date:2020-07-22 status:completed title:foo
, while also supporting a more accessible default search.From researching online, it seems that
lunr
supports queries of the formtitle:foo* bar
(meaning: search for words beginning with “foo” in the title or with “bar” in any field), which seems to fit this use-case quite well (alternatives includefuse.js
, andflexsearch
, but I'm unsure if they would work as well).As part of this feature, we can persist the query string in the URL to allow you to share or bookmark a certain search.