TermsHash
abstract class TermsHash(intBlockAllocator: IntBlockPool.Allocator, byteBlockAllocator: ByteBlockPool.Allocator, val bytesUsed: Counter, val nextTermsHash: TermsHash?)
This class is passed each token produced by the analyzer on each field during indexing, and it stores these tokens in a hash table, and allocates separate byte streams per token. Consumers of this class, eg FreqProxTermsWriter and TermVectorsConsumer, write their own byte streams under each term.
Inheritors
Constructors
Link copied to clipboard
constructor(intBlockAllocator: IntBlockPool.Allocator, byteBlockAllocator: ByteBlockPool.Allocator, bytesUsed: Counter, nextTermsHash: TermsHash?)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun flush(fieldsToFlush: MutableMap<String, TermsHashPerField>, state: SegmentWriteState, sortMap: Sorter.DocMap?, norms: NormsProducer?)
Link copied to clipboard