TermsHashPerField
This class stores streams of information per term without knowing the size of the stream ahead of time. Each stream typically encodes one level of information like term frequency per document or term proximity. Internally this class allocates a linked list of slices that can be read by a ByteSliceReader for each term. Terms are first deduplicated in a BytesRefHash once this is done internal data-structures point to the current offset of each stream that can be written to.
Inheritors
Constructors
Properties
Functions
Creates a new postings array of the specified size.
Returns the sorted term IDs. .sortTerms must be called before
Called when the postings array is initialized or resized.
Start adding a new field instance; first is true if this is the first time this field name was seen in the document.