Lucene.Net.Search.ConstantScoreQuery.ConstantWeight.ConstantWeight C# (CSharp) Method

ConstantWeight() public method

public ConstantWeight ( ConstantScoreQuery enclosingInstance, Searcher searcher ) : System
enclosingInstance ConstantScoreQuery
searcher Searcher
return System
			public ConstantWeight(ConstantScoreQuery enclosingInstance, Searcher searcher)
			{
				InitBlock(enclosingInstance);
				this.similarity = Enclosing_Instance.GetSimilarity(searcher);
			}