Package org.apache.lucene.codecs
Class BlockTermState
java.lang.Object
org.apache.lucene.index.TermState
org.apache.lucene.index.OrdTermState
org.apache.lucene.codecs.BlockTermState
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
Lucene90PostingsFormat.IntBlockTermState
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 Summary
FieldsModifier and TypeFieldDescriptionlong
fp into the terms dict primary file (_X.tim) that holds this termint
how many docs have this termint
the term's ord in the current blocklong
total number of occurrences of this termFields inherited from class org.apache.lucene.index.OrdTermState
ord
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
docFreq
public int docFreqhow many docs have this term -
totalTermFreq
public long totalTermFreqtotal number of occurrences of this term -
termBlockOrd
public int termBlockOrdthe term's ord in the current block -
blockFilePointer
public long blockFilePointerfp 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
-
copyFrom
Description copied from class:TermState
Copies the content of the givenTermState
to this instance- Overrides:
copyFrom
in classOrdTermState
- Parameters:
_other
- the TermState to copy
-
toString
- Overrides:
toString
in classOrdTermState
-