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
Holds all state required for
PostingsReaderBase
to produce a DocsEnum without re-seeking the
terms dict.-
Field Summary
FieldsModifier and TypeFieldDescriptionlongfp into the terms dict primary file (_X.tim) that holds this terminthow many docs have this termintthe term's ord in the current blocklongtotal number of occurrences of this termFields inherited from class org.apache.lucene.index.OrdTermState
ord -
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
-
-
Method Details
-
copyFrom
Description copied from class:TermStateCopies the content of the givenTermStateto this instance- Overrides:
copyFromin classOrdTermState- Parameters:
_other- the TermState to copy
-
toString
- Overrides:
toStringin classOrdTermState
-