Skip to main content

Module query

Module query 

Source
Expand description

Query expansion and key compatibility rules.

Structs§

PlainBackend
Backend that only uses original and normalized text.
QueryVariant
Search text variant produced from the user’s query.

Functions§

base_query_variants
Builds the language-neutral original and normalized query variants.
dedup_and_limit_variants
Deduplicates variants by text and key coverage, then applies the query cap.
key_kind_allowed
Returns whether a query variant may be scored against a key kind.