Trait tantivy::query::Scorer [] [src]

pub trait Scorer: Any + DocSet + 'static {
    fn score(&mut self) -> Score;

    fn collect(&mut self, collector: &mut Collector) { ... }
}

Scored set of documents matching a query within a specific segment.

See Query.

Required Methods

Returns the score.

This method will perform a bit of computation and is not cached.

Provided Methods

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

Methods

impl Scorer

Important traits for &'a mut W

Important traits for &'a mut W

Important traits for Box<W>

Trait Implementations

impl<_T: Any> Downcast<_T> for Scorer where
    _T: Any

[src]

Important traits for &'a mut W
[src]

[src]

Important traits for &'a mut W
[src]

[src]

Important traits for Box<W>
[src]

[src]

Auto Trait Implementations

Implementations on Foreign Types

impl Scorer for Box<Scorer>
[src]

[src]

[src]

Implementors