Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.21 KB

README.md

File metadata and controls

65 lines (44 loc) · 1.21 KB

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