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