Struct tantivy::query::AllScorer [−][src]
pub struct AllScorer { /* fields omitted */ }
Scorer associated to the AllQuery
query.
Trait Implementations
impl DocSet for AllScorer
[src]
impl DocSet for AllScorer
fn advance(&mut self) -> bool
[src]
fn advance(&mut self) -> bool
Goes to the next element. .advance(...)
needs to be called a first time to point to the correct element. Read more
fn doc(&self) -> DocId
[src]
fn doc(&self) -> DocId
Returns the current document
fn size_hint(&self) -> u32
[src]
fn size_hint(&self) -> u32
Returns a best-effort hint of the length of the docset. Read more
fn skip_next(&mut self, target: DocId) -> SkipResult
[src]
fn skip_next(&mut self, target: DocId) -> SkipResult
After skipping, position the iterator in such a way that .doc()
will return a value greater than or equal to target. Read more
fn fill_buffer(&mut self, buffer: &mut [DocId]) -> usize
[src]
fn fill_buffer(&mut self, buffer: &mut [DocId]) -> usize
Fills a given mutable buffer with the next doc ids from the DocSet
Read more
fn append_to_bitset(&mut self, bitset: &mut BitSet)
[src]
fn append_to_bitset(&mut self, bitset: &mut BitSet)
Appends all docs to a bitset
.
fn count(&mut self) -> u32
[src]
fn count(&mut self) -> u32
Returns the number documents matching. Read more
impl Scorer for AllScorer
[src]
impl Scorer for AllScorer