Expand description
Compact BM25 keyword index over a node text property (ADR-252 P4).
Provides the keyword arm of the tri-modal hybrid query (BM25 + ANN vector +
graph traversal). Self-contained — an in-memory inverted index with
Okapi BM25 scoring, no external search engine. Built from (NodeId, &str)
pairs and queried for the top-k by keyword relevance.
Structs§
- Bm25
Index - In-memory BM25 inverted index over a single text field.
- Bm25
Params - Okapi BM25 parameters. Defaults
k1=1.2,b=0.75are the standard choices.