Class BlockTermState

All Implemented Interfaces:
Direct Known Subclasses:

public class BlockTermState extends OrdTermState
Holds all state required for PostingsReaderBase to produce a PostingsEnum without re-seeking the terms dict.
NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
  • Field Details

    • docFreq

      public int docFreq
      how many docs have this term
    • totalTermFreq

      public long totalTermFreq
      total number of occurrences of this term
    • termBlockOrd

      public int termBlockOrd
      the term's ord in the current block
    • blockFilePointer

      public long blockFilePointer
      fp into the terms dict primary file (_X.tim) that holds this term
  • Constructor Details

    • BlockTermState

      protected BlockTermState()
      Sole constructor. (For invocation by subclass constructors, typically implicit.)
  • Method Details