Initializes a new instance of the ConstantScoreRangeQuery class

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

Syntax

C#
public ConstantScoreRangeQuery(
	string fieldName,
	string lowerVal,
	string upperVal,
	bool includeLower,
	bool includeUpper,
	CompareInfo collator
)
Visual Basic
Public Sub New ( _
	fieldName As String, _
	lowerVal As String, _
	upperVal As String, _
	includeLower As Boolean, _
	includeUpper As Boolean, _
	collator As CompareInfo _
)
Visual C++
public:
ConstantScoreRangeQuery(
	String^ fieldName, 
	String^ lowerVal, 
	String^ upperVal, 
	bool includeLower, 
	bool includeUpper, 
	CompareInfo^ collator
)

Parameters

fieldName
Type: System..::..String

[Missing <param name="fieldName"/> documentation for "M:Lucene.Net.Search.ConstantScoreRangeQuery.#ctor(System.String,System.String,System.String,System.Boolean,System.Boolean,System.Globalization.CompareInfo)"]

lowerVal
Type: System..::..String

[Missing <param name="lowerVal"/> documentation for "M:Lucene.Net.Search.ConstantScoreRangeQuery.#ctor(System.String,System.String,System.String,System.Boolean,System.Boolean,System.Globalization.CompareInfo)"]

upperVal
Type: System..::..String

[Missing <param name="upperVal"/> documentation for "M:Lucene.Net.Search.ConstantScoreRangeQuery.#ctor(System.String,System.String,System.String,System.Boolean,System.Boolean,System.Globalization.CompareInfo)"]

includeLower
Type: System..::..Boolean

[Missing <param name="includeLower"/> documentation for "M:Lucene.Net.Search.ConstantScoreRangeQuery.#ctor(System.String,System.String,System.String,System.Boolean,System.Boolean,System.Globalization.CompareInfo)"]

includeUpper
Type: System..::..Boolean

[Missing <param name="includeUpper"/> documentation for "M:Lucene.Net.Search.ConstantScoreRangeQuery.#ctor(System.String,System.String,System.String,System.Boolean,System.Boolean,System.Globalization.CompareInfo)"]

collator
Type: System.Globalization..::..CompareInfo

[Missing <param name="collator"/> documentation for "M:Lucene.Net.Search.ConstantScoreRangeQuery.#ctor(System.String,System.String,System.String,System.Boolean,System.Boolean,System.Globalization.CompareInfo)"]

See Also