pub struct Exclude<TDocSet, TDocSetExclude> { /* fields omitted */ }
Filters a given DocSet
by removing the docs from a given DocSet
.
The excluding docset has no impact on scoring.
impl<TDocSet, TDocSetExclude> Exclude<TDocSet, TDocSetExclude> where TDocSetExclude: DocSet, | [src] |
pub fn new( underlying_docset: TDocSet, excluding_docset: TDocSetExclude ) -> Exclude<TDocSet, TDocSetExclude> | [src] |
Creates a new ExcludeScorer
Goes to the next element. .advance(...)
needs to be called a first time to point to the correct element. 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
.size_hint()
directly returns the size
of the underlying docset without taking in account
the fact that docs might be deleted.
Fills a given mutable buffer with the next doc ids from the DocSet
Read more
Appends all docs to a bitset
.
Returns the number documents matching. Read more
Consumes the complete DocSet
and push the scored documents to the collector. Read more
impl<TDocSet, TDocSetExclude> Send for Exclude<TDocSet, TDocSetExclude> where TDocSet: Send, TDocSetExclude: Send, | |
impl<TDocSet, TDocSetExclude> Sync for Exclude<TDocSet, TDocSetExclude> where TDocSet: Sync, TDocSetExclude: Sync, | |