Beispiel #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;
 }
Beispiel #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;
 }
Beispiel #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;
 }