Skip to main content

Crate qplan

Crate qplan 

Source
Expand description

qplan: query planning / compilation for retrieval.

qexpr describes query meaning; qplan compiles that meaning into a small plan that execution backends can implement efficiently.

This crate is intentionally narrow today: it only supports a conjunctive subset of QExpr (terms, phrases, NEAR constraints, and AND trees) and returns explicit errors for the rest.

Structs§

ConjunctivePlan
A compiled conjunctive query plan.
NearPlan
A compiled proximity constraint.

Enums§

Error
Errors returned by qplan.

Functions§

compile_conjunctive
Compile a query into a conjunctive plan.