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:
Lucene101PostingsFormat.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 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 -
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:TermStateCopies the content of the givenTermStateto this instance- Overrides:
copyFromin classOrdTermState- Parameters:
_other- the TermState to copy
-
toString
- Overrides:
toStringin classOrdTermState
-