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