Expert: Splits a long range recursively.
You may implement a builder that adds clauses to a
{@link Lucene.Net.Search.BooleanQuery} for each call to its
{@link LongRangeBuilder#AddRange(String,String)}
method.
This method is used by {@link NumericRangeQuery}.
Namespace: Lucene.Net.UtilAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public static void SplitLongRange( NumericUtils..::..LongRangeBuilder builder, int precisionStep, long minBound, long maxBound ) |
Visual Basic |
---|
Public Shared Sub SplitLongRange ( _ builder As NumericUtils..::..LongRangeBuilder, _ precisionStep As Integer, _ minBound As Long, _ maxBound As Long _ ) |
Visual C++ |
---|
public: static void SplitLongRange( NumericUtils..::..LongRangeBuilder^ builder, int precisionStep, long long minBound, long long maxBound ) |
Parameters
- builder
- Type: Lucene.Net.Util..::..NumericUtils..::..LongRangeBuilder
[Missing <param name="builder"/> documentation for "M:Lucene.Net.Util.NumericUtils.SplitLongRange(Lucene.Net.Util.NumericUtils.LongRangeBuilder,System.Int32,System.Int64,System.Int64)"]
- precisionStep
- Type: System..::..Int32
[Missing <param name="precisionStep"/> documentation for "M:Lucene.Net.Util.NumericUtils.SplitLongRange(Lucene.Net.Util.NumericUtils.LongRangeBuilder,System.Int32,System.Int64,System.Int64)"]
- minBound
- Type: System..::..Int64
[Missing <param name="minBound"/> documentation for "M:Lucene.Net.Util.NumericUtils.SplitLongRange(Lucene.Net.Util.NumericUtils.LongRangeBuilder,System.Int32,System.Int64,System.Int64)"]
- maxBound
- Type: System..::..Int64
[Missing <param name="maxBound"/> documentation for "M:Lucene.Net.Util.NumericUtils.SplitLongRange(Lucene.Net.Util.NumericUtils.LongRangeBuilder,System.Int32,System.Int64,System.Int64)"]