internal SingleMatchScorer(BooleanScorer2 enclosingInstance, Scorer scorer) : base(scorer.GetSimilarity()) { InitBlock(enclosingInstance); this.scorer = scorer; }
public override Similarity GetSimilarity() { return(scorer.GetSimilarity()); }
/// <summary>Creates a new instance by wrapping the given scorer. </summary> public ScoreCachingWrappingScorer(Scorer scorer) : base(scorer.GetSimilarity()) { this.scorer = scorer; }