Class TermsHash

  • Direct Known Subclasses:
    FreqProxTermsWriter, TermVectorsConsumer

    abstract class TermsHash
    extends java.lang.Object
    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.