A library for rewriting search queries to improve relevance.
Clojars dependency:
Status: alpha, but used in production.
[com.nytimes/querqy-clj "$VERSION"]
Querqy is a query rewriting library. It can help you better connect user intent to the relevance signals in your search index. You can massage user input into a better query by fixing typos, removing spurious terms, or injecting filters or synonyms automatically.
- You want to define and maintain rules client side.
- Build a rich vocabulary of rules, beyond what Querqy templates support.
- No ability, or desire, to install custom Elasticsearch plugins.
$ lein cljfmt fix
$ lein clj-kondo --lint src test