Class NumericUtils.Int32RangeBuilder
Callback for SplitInt32Range(Int32RangeBuilder, int, int, int). You need to override only one of the methods.
NOTE: This was IntRangeBuilder in LuceneNote
This API is for internal purposes only and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public abstract class NumericUtils.Int32RangeBuilder
Methods
AddRange(BytesRef, BytesRef)
Override this method, if you like to receive the already prefix encoded range bounds. You can directly build classical range (inclusive) queries from them.
Declaration
public virtual void AddRange(BytesRef minPrefixCoded, BytesRef maxPrefixCoded)
Parameters
Type | Name | Description |
---|---|---|
BytesRef | minPrefixCoded | |
BytesRef | maxPrefixCoded |
AddRange(int, int, int)
Override this method, if you like to receive the raw int range bounds. You can use this for e.g. debugging purposes (print out range bounds).
Declaration
public virtual void AddRange(int min, int max, int shift)
Parameters
Type | Name | Description |
---|---|---|
int | min | |
int | max | |
int | shift |