WARNING: Using this constructor and supplying a non-null value in the
CopyC#
collator
parameter will cause every single index Term in the Field referenced by lowerTerm and/or upperTerm to be examined. Depending on the number of index Terms in this Field, the operation could be very slow.
lowerTerm is null and includeLower is true (similar for upperTerm and includeUpper)

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

Syntax

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

Parameters

fieldName
Type: System..::..String

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

lowerTerm
Type: System..::..String
The lower bound on this range
upperTerm
Type: System..::..String
The upper bound on this range
includeLower
Type: System..::..Boolean
Does this range include the lower bound?
includeUpper
Type: System..::..Boolean
Does this range include the upper bound?
collator
Type: System.Globalization..::..CompareInfo
The collator to use when determining range inclusion; set to null to use Unicode code point ordering instead of collation.

See Also