public static IntToPrefixCoded ( int val, int shift, BytesRef bytes ) : void | ||
val | int | the numeric value |
shift | int | how many bits to strip from the right |
bytes | BytesRef | will contain the encoded value |
return | void |
shift
bits. this is method is used by NumericTokenStream. After encoding, {@code bytes.offset} will always be 0. public static IntToPrefixCoded ( int val, int shift, BytesRef bytes ) : void | ||
val | int | the numeric value |
shift | int | how many bits to strip from the right |
bytes | BytesRef | will contain the encoded value |
return | void |