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:
java.lang.Cloneable
public class BlockTermState extends OrdTermState
Holds all state required forPostingsReaderBase
to produce aDocsEnum
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 termint
docFreq
how many docs have this termint
termBlockOrd
the term's ord in the current blocklong
totalTermFreq
total number of occurrences of this term-
Fields inherited from class org.apache.lucene.index.OrdTermState
ord
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copyFrom(TermState _other)
Copies the content of the givenTermState
to this instancejava.lang.String
toString()
-
-
-
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
-
-
Method Detail
-
copyFrom
public void copyFrom(TermState _other)
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
public java.lang.String toString()
- Overrides:
toString
in classOrdTermState
-
-