Esempio n. 1
0
 internal BM25DocScorer(BM25Similarity outerInstance, BM25Stats stats, NumericDocValues norms)
 {
     this.OuterInstance = outerInstance;
     this.Stats         = stats;
     this.WeightValue   = stats.Weight * (outerInstance.K1_Renamed + 1);
     this.Cache         = stats.Cache;
     this.Norms         = norms;
 }
Esempio n. 2
0
 internal BM25DocScorer(BM25Similarity outerInstance, BM25Stats stats, NumericDocValues norms)
 {
     this.outerInstance = outerInstance;
     this.stats         = stats;
     this.weightValue   = stats.Weight * (outerInstance.k1 + 1);
     this.cache         = stats.Cache;
     this.norms         = norms;
 }
Esempio n. 3
0
 internal BM25DocScorer(BM25Similarity outerInstance, BM25Stats stats, NumericDocValues norms)
 {
     this.OuterInstance = outerInstance;
     this.Stats = stats;
     this.WeightValue = stats.Weight * (outerInstance.K1_Renamed + 1);
     this.Cache = stats.Cache;
     this.Norms = norms;
 }