Expert: Splits an int range recursively. You may implement a builder that adds clauses to a {@link Lucene.Net.Search.BooleanQuery} for each call to its {@link IntRangeBuilder#AddRange(String,String)} method.

This method is used by {@link NumericRangeQuery}.

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

Syntax

C#
public static void SplitIntRange(
	NumericUtils..::..IntRangeBuilder builder,
	int precisionStep,
	int minBound,
	int maxBound
)
Visual Basic
Public Shared Sub SplitIntRange ( _
	builder As NumericUtils..::..IntRangeBuilder, _
	precisionStep As Integer, _
	minBound As Integer, _
	maxBound As Integer _
)
Visual C++
public:
static void SplitIntRange(
	NumericUtils..::..IntRangeBuilder^ builder, 
	int precisionStep, 
	int minBound, 
	int maxBound
)

Parameters

builder
Type: Lucene.Net.Util..::..NumericUtils..::..IntRangeBuilder

[Missing <param name="builder"/> documentation for "M:Lucene.Net.Util.NumericUtils.SplitIntRange(Lucene.Net.Util.NumericUtils.IntRangeBuilder,System.Int32,System.Int32,System.Int32)"]

precisionStep
Type: System..::..Int32

[Missing <param name="precisionStep"/> documentation for "M:Lucene.Net.Util.NumericUtils.SplitIntRange(Lucene.Net.Util.NumericUtils.IntRangeBuilder,System.Int32,System.Int32,System.Int32)"]

minBound
Type: System..::..Int32

[Missing <param name="minBound"/> documentation for "M:Lucene.Net.Util.NumericUtils.SplitIntRange(Lucene.Net.Util.NumericUtils.IntRangeBuilder,System.Int32,System.Int32,System.Int32)"]

maxBound
Type: System..::..Int32

[Missing <param name="maxBound"/> documentation for "M:Lucene.Net.Util.NumericUtils.SplitIntRange(Lucene.Net.Util.NumericUtils.IntRangeBuilder,System.Int32,System.Int32,System.Int32)"]

See Also