Beispiel #1
0
 public FloatDocValuesAnonymousInnerClassHelper(NormValueSource outerInstance, NormValueSource @this, TFIDFSimilarity similarity, NumericDocValues norms)
     : base(@this)
 {
     this.outerInstance = outerInstance;
     this.similarity = similarity;
     this.norms = norms;
 }
 public FloatDocValuesAnonymousInnerClassHelper(TFValueSource outerInstance, TFValueSource @this, Terms terms, TFIDFSimilarity similarity)
     : base(@this)
 {
     this.outerInstance = outerInstance;
     this.terms = terms;
     this.similarity = similarity;
     lastDocRequested = -1;
     Reset();
 }
Beispiel #3
0
 internal TFIDFSimScorer(TFIDFSimilarity outerInstance, IDFStats stats, NumericDocValues norms)
 {
     this.OuterInstance = outerInstance;
     this.Stats = stats;
     this.WeightValue = stats.Value;
     this.Norms = norms;
 }