Example usage for Java org.apache.lucene.util BytesRefHash fields, constructors, methods, implement or subclass
The text is from its open source code.
BytesRefHash() Creates a new BytesRefHash with a ByteBlockPool using a DirectAllocator . | |
BytesRefHash(ByteBlockPool pool) Creates a new BytesRefHash |
int | add(BytesRef bytes) Adds a new BytesRef |
int | find(BytesRef bytes) Returns the id of the given BytesRef . |
BytesRef | get(int bytesID, BytesRef ref) Populates and returns a BytesRef with the bytes for the given bytesID. |
int | size() Returns the number of BytesRef values in this BytesRefHash . |