Struct tantivy::query::EmptyScorer [] [src]

pub struct EmptyScorer;

EmptyScorer is a dummy Scorer in which no document matches.

It is useful for tests and handling edge cases.

Trait Implementations

impl DocSet for EmptyScorer
[src]

[src]

Goes to the next element. .advance(...) needs to be called a first time to point to the correct element. Read more

[src]

Returns the current document

[src]

Returns a best-effort hint of the length of the docset. Read more

[src]

After skipping, position the iterator in such a way that .doc() will return a value greater than or equal to target. Read more

[src]

Fills a given mutable buffer with the next doc ids from the DocSet Read more

[src]

Advances the cursor to the next document None is returned if the iterator has DocSet has already been entirely consumed. Read more

[src]

Appends all docs to a bitset.

impl Scorer for EmptyScorer
[src]

[src]

Returns the score. Read more

[src]

Consumes the complete DocSet and push the scored documents to the collector. Read more