Class BlockTermState

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class BlockTermState
    extends OrdTermState
    Holds all state required for PostingsReaderBase to produce a DocsEnum without re-seeking the terms dict.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      long blockFilePointer
      fp into the terms dict primary file (_X.tim) that holds this term
      int docFreq
      how many docs have this term
      int termBlockOrd
      the term's ord in the current block
      long totalTermFreq
      total number of occurrences of this term
    • Field Detail

      • 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