downforacross / downforacross.com

Web frontend for downforacross.com -- continuation of stevenhao/crosswordsio
https://downforacrosscom.downforacross1.now.sh
MIT License
229 stars 91 forks source link

Advanced search #118

Open multimeric opened 3 years ago

multimeric commented 3 years ago

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 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.