Builds a new TermRangeQuery instance

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

Syntax

C#
protected internal virtual Query NewRangeQuery(
	string field,
	string part1,
	string part2,
	bool inclusive
)
Visual Basic
Protected Friend Overridable Function NewRangeQuery ( _
	field As String, _
	part1 As String, _
	part2 As String, _
	inclusive As Boolean _
) As Query
Visual C++
protected public:
virtual Query^ NewRangeQuery(
	String^ field, 
	String^ part1, 
	String^ part2, 
	bool inclusive
)

Parameters

field
Type: System..::..String
Field
part1
Type: System..::..String
min
part2
Type: System..::..String
max
inclusive
Type: System..::..Boolean
true if range is inclusive

Return Value

new TermRangeQuery instance

See Also