The NumericUtils type exposes the following members.

Fields

  NameDescription
Public fieldStatic memberBUF_SIZE_INT
Expert: The maximum term length (used for
CopyC#
char[]
buffer size) for encoding
CopyC#
int
values.
Public fieldStatic memberBUF_SIZE_LONG
Expert: The maximum term length (used for
CopyC#
char[]
buffer size) for encoding
CopyC#
long
values.
Public fieldStatic memberPRECISION_STEP_DEFAULT
The default precision step used by {@link NumericField}, {@link NumericTokenStream}, {@link NumericRangeQuery}, and {@link NumericRangeFilter} as default
Public fieldStatic memberSHIFT_START_INT
Expert: Integers are stored at lower precision by shifting off lower bits. The shift count is stored as
CopyC#
SHIFT_START_INT+shift
in the first character
Public fieldStatic memberSHIFT_START_LONG
Expert: Longs are stored at lower precision by shifting off lower bits. The shift count is stored as
CopyC#
SHIFT_START_LONG+shift
in the first character

See Also