summaryrefslogtreecommitdiffstats
path: root/src/query/scorer.rs
blob: 7e9f174247b1f5df2e4ee9d00754c699c03dd482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use DocSet;


/// Scored `DocSet`
pub trait Scorer: DocSet {
    
    /// Returns the score.
    /// 
    /// This method will perform a bit of computation and is not cached.
    fn score(&self,) -> f32;
}