public static IntToPrefixCodedBytes ( 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 |
Результат | void |
shift
bits. this is method is used by NumericTokenStream. After encoding, {@code bytes.offset} will always be 0. public static IntToPrefixCodedBytes ( 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 |
Результат | void |