Initializes a new instance of the ConstantScoreQuery..::..ConstantScorer class

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public ConstantScorer(
	ConstantScoreQuery enclosingInstance,
	Similarity similarity,
	IndexReader reader,
	Weight w
)
Visual Basic
Public Sub New ( _
	enclosingInstance As ConstantScoreQuery, _
	similarity As Similarity, _
	reader As IndexReader, _
	w As Weight _
)
Visual C++
public:
ConstantScorer(
	ConstantScoreQuery^ enclosingInstance, 
	Similarity^ similarity, 
	IndexReader^ reader, 
	Weight^ w
)

Parameters

enclosingInstance
Type: Lucene.Net.Search..::..ConstantScoreQuery

[Missing <param name="enclosingInstance"/> documentation for "M:Lucene.Net.Search.ConstantScoreQuery.ConstantScorer.#ctor(Lucene.Net.Search.ConstantScoreQuery,Lucene.Net.Search.Similarity,Lucene.Net.Index.IndexReader,Lucene.Net.Search.Weight)"]

similarity
Type: Lucene.Net.Search..::..Similarity

[Missing <param name="similarity"/> documentation for "M:Lucene.Net.Search.ConstantScoreQuery.ConstantScorer.#ctor(Lucene.Net.Search.ConstantScoreQuery,Lucene.Net.Search.Similarity,Lucene.Net.Index.IndexReader,Lucene.Net.Search.Weight)"]

reader
Type: Lucene.Net.Index..::..IndexReader

[Missing <param name="reader"/> documentation for "M:Lucene.Net.Search.ConstantScoreQuery.ConstantScorer.#ctor(Lucene.Net.Search.ConstantScoreQuery,Lucene.Net.Search.Similarity,Lucene.Net.Index.IndexReader,Lucene.Net.Search.Weight)"]

w
Type: Lucene.Net.Search..::..Weight

[Missing <param name="w"/> documentation for "M:Lucene.Net.Search.ConstantScoreQuery.ConstantScorer.#ctor(Lucene.Net.Search.ConstantScoreQuery,Lucene.Net.Search.Similarity,Lucene.Net.Index.IndexReader,Lucene.Net.Search.Weight)"]

See Also