Creates a numeric range query using {@link FieldCache#GetDoubles(IndexReader,String,FieldCache.DoubleParser)}. This works with all double fields containing exactly one numeric term in the field. The range can be half-open by setting one of the values to
CopyC#
null
.

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

Syntax

C#
public static FieldCacheRangeFilter NewDoubleRange(
	string field,
	DoubleParser parser,
	ValueType lowerVal,
	ValueType upperVal,
	bool includeLower,
	bool includeUpper
)
Visual Basic
Public Shared Function NewDoubleRange ( _
	field As String, _
	parser As DoubleParser, _
	lowerVal As ValueType, _
	upperVal As ValueType, _
	includeLower As Boolean, _
	includeUpper As Boolean _
) As FieldCacheRangeFilter
Visual C++
public:
static FieldCacheRangeFilter^ NewDoubleRange(
	String^ field, 
	DoubleParser^ parser, 
	ValueType^ lowerVal, 
	ValueType^ upperVal, 
	bool includeLower, 
	bool includeUpper
)

Parameters

field
Type: System..::..String

[Missing <param name="field"/> documentation for "M:Lucene.Net.Search.FieldCacheRangeFilter.NewDoubleRange(System.String,Lucene.Net.Search.DoubleParser,System.ValueType,System.ValueType,System.Boolean,System.Boolean)"]

parser
Type: Lucene.Net.Search..::..DoubleParser

[Missing <param name="parser"/> documentation for "M:Lucene.Net.Search.FieldCacheRangeFilter.NewDoubleRange(System.String,Lucene.Net.Search.DoubleParser,System.ValueType,System.ValueType,System.Boolean,System.Boolean)"]

lowerVal
Type: System..::..ValueType

[Missing <param name="lowerVal"/> documentation for "M:Lucene.Net.Search.FieldCacheRangeFilter.NewDoubleRange(System.String,Lucene.Net.Search.DoubleParser,System.ValueType,System.ValueType,System.Boolean,System.Boolean)"]

upperVal
Type: System..::..ValueType

[Missing <param name="upperVal"/> documentation for "M:Lucene.Net.Search.FieldCacheRangeFilter.NewDoubleRange(System.String,Lucene.Net.Search.DoubleParser,System.ValueType,System.ValueType,System.Boolean,System.Boolean)"]

includeLower
Type: System..::..Boolean

[Missing <param name="includeLower"/> documentation for "M:Lucene.Net.Search.FieldCacheRangeFilter.NewDoubleRange(System.String,Lucene.Net.Search.DoubleParser,System.ValueType,System.ValueType,System.Boolean,System.Boolean)"]

includeUpper
Type: System..::..Boolean

[Missing <param name="includeUpper"/> documentation for "M:Lucene.Net.Search.FieldCacheRangeFilter.NewDoubleRange(System.String,Lucene.Net.Search.DoubleParser,System.ValueType,System.ValueType,System.Boolean,System.Boolean)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Search.FieldCacheRangeFilter.NewDoubleRange(System.String,Lucene.Net.Search.DoubleParser,System.ValueType,System.ValueType,System.Boolean,System.Boolean)"]

See Also