Skip to content

Search Query Rewriting for Elasticsearch and more! Built on Querqy.

License

Notifications You must be signed in to change notification settings

nytimes/querqy-clj

Repository files navigation

querqy-clj

A library for rewriting search queries to improve relevance.

Clojars dependency:

Clojars Project

Status: alpha, but used in production.

Installation

[com.nytimes/querqy-clj "$VERSION"]

What is Querqy?

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.

Rationale

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

Docs

Development

Formatting

$ lein cljfmt fix

Linting

$ lein clj-kondo --lint src test

About

Search Query Rewriting for Elasticsearch and more! Built on Querqy.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published