コード例 #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
ファイル: BooleanScorer2.cs プロジェクト: carrie901/mono
			internal SingleMatchScorer(BooleanScorer2 enclosingInstance, Scorer scorer):base(scorer.GetSimilarity())
			{
				InitBlock(enclosingInstance);
				this.scorer = scorer;
			}