Skip to main content

Module docset

Module docset 

Source
Expand description

DocSet trait and concrete implementations for document iteration.

DocSet is the base abstraction for forward-only cursors over sorted document IDs. Posting lists, filter results, and scorers all implement this trait. PredicatedScorer wraps a driving Scorer with pushed-down filter predicates.

Structs§

AllDocSet
DocSet that yields all documents 0..num_docs.
EmptyDocSet
DocSet that is always empty.
IntersectionDocSet
DocSet that yields the intersection of two DocSets.
PredicatedScorer
Wraps a driving Scorer with filter conditions pushed down.
SortedVecDocSet
DocSet backed by a sorted Vec<u32>. Binary search for seek.

Traits§

DocSet
Forward-only cursor over sorted document IDs.