[][src]Function tantivy::query::intersect_scorers

pub fn intersect_scorers(scorers: Vec<Box<dyn Scorer>>) -> Box<dyn Scorer>

Returns the intersection scorer.

The score associated to the documents is the sum of the score of the Scorers given in argument.

For better performance, the function uses a specialized implementation if the two shortest scorers are TermScorers.