Exemple #1
0
 private void  InitBlock(BoostingTermWeight enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }
 private void InitBlock(BoostingTermWeight enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }
Exemple #3
0
 public BoostingSpanScorer(BoostingTermWeight enclosingInstance, TermSpans spans, Weight weight, Similarity similarity, byte[] norms) : base(spans, weight, similarity, norms)
 {
     InitBlock(enclosingInstance);
     positions = spans.GetPositions();
 }
 public BoostingSpanScorer(BoostingTermWeight enclosingInstance, TermSpans spans, Weight weight, Similarity similarity, byte[] norms)
     : base(spans, weight, similarity, norms)
 {
     InitBlock(enclosingInstance);
     positions = spans.GetPositions();
 }