コード例 #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;
 }
コード例 #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;
 }
コード例 #3
0
ファイル: BM25Similarity.cs プロジェクト: joyanta/lucene.net
 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;
 }