Module query

Module query 

Source
Expand description

Query types and search execution

Structs§

BlockWand
BlockWAND: Block-level WAND with early termination
Bm25Params
BM25 parameters
BooleanQuery
Boolean query with MUST, SHOULD, and MUST_NOT clauses
BoostQuery
Boost query - multiplies the score of the inner query
DocAddress
Unique document address: segment_id (hex) + local doc_id within segment
EmptyScorer
Empty scorer for terms that don’t exist
MaxScoreWand
MaxScore WAND algorithm for efficient top-k retrieval
SearchHit
Search hit with unique document address and score
SearchResponse
Search response with hits (IDs only, no documents)
SearchResult
Search result with doc_id and score (internal use)
TermQuery
Term query - matches documents containing a specific term
TermScorer
Term scorer with MaxScore info and BM25F support
TopKCollector
Collector for top-k results
WandResult
Search result

Constants§

WAND_B
WAND_K1
BM25F parameters for WAND scoring

Traits§

Query
A search query (async)
Scorer
Scorer that iterates over matching documents and computes scores

Functions§

daat_or
Simple DAAT (Document-At-A-Time) scorer for comparison
search_segment
Execute a search query on a single segment (async)

Type Aliases§

CountFuture
Future type for count estimation
ScorerFuture
Future type for scorer creation