コード例 #1
0
ファイル: NumericUtils.cs プロジェクト: sinsay/SSE
 /// <summary> Expert: Splits an int range recursively.
 /// You may implement a builder that adds clauses to a
 /// <see cref="Lucene.Net.Search.BooleanQuery" /> for each call to its
 /// <see cref="IntRangeBuilder.AddRange(String,String)" />
 /// method.
 /// <p/>This method is used by <see cref="NumericRangeQuery" />.
 /// </summary>
 public static void SplitIntRange(IntRangeBuilder builder, int precisionStep, int minBound, int maxBound)
 {
     SplitRange(builder, 32, precisionStep, (long) minBound, (long) maxBound);
 }
コード例 #2
0
 /// <summary> Expert: Splits an int range recursively.
 /// You may implement a builder that adds clauses to a
 /// {@link Mono.Lucene.Net.Search.BooleanQuery} for each call to its
 /// {@link IntRangeBuilder#AddRange(String,String)}
 /// method.
 /// <p/>This method is used by {@link NumericRangeQuery}.
 /// </summary>
 public static void  SplitIntRange(IntRangeBuilder builder, int precisionStep, int minBound, int maxBound)
 {
     SplitRange(builder, 32, precisionStep, (long)minBound, (long)maxBound);
 }