pub struct Union<TScorer, TScoreCombiner = DoNothingCombiner> { /* fields omitted */ }
Creates a DocSet
that iterator through the intersection of two DocSet
s.
impl<TScorer, TScoreCombiner> From<Vec<TScorer>> for Union<TScorer, TScoreCombiner> where TScoreCombiner: ScoreCombiner, TScorer: Scorer, | [src] |
impl<TScorer, TScoreCombiner> DocSet for Union<TScorer, TScoreCombiner> where TScorer: Scorer, TScoreCombiner: ScoreCombiner, | [src] |
Goes to the next element. .advance(...)
needs to be called a first time to point to the correct element. Read more
Returns the number documents matching. Read more
After skipping, position the iterator in such a way that .doc()
will return a value greater than or equal to target. Read more
Returns the current document
Returns a best-effort hint of the length of the docset. Read more
Fills a given mutable buffer with the next doc ids from the DocSet
Read more
Appends all docs to a bitset
.
impl<TScorer, TScoreCombiner> Scorer for Union<TScorer, TScoreCombiner> where TScoreCombiner: ScoreCombiner, TScorer: Scorer, | [src] |
Consumes the complete DocSet
and push the scored documents to the collector. Read more
impl<TScorer, TScoreCombiner> Send for Union<TScorer, TScoreCombiner> where TScoreCombiner: Send, TScorer: Send, | |
impl<TScorer, TScoreCombiner> Sync for Union<TScorer, TScoreCombiner> where TScoreCombiner: Sync, TScorer: Sync, | |