public class BlockTermState extends OrdTermState
PostingsReaderBase
to produce a PostingsEnum without re-seeking the
terms dict.| Modifier and Type | Field and Description |
|---|---|
long |
blockFilePointer
fp into the terms dict primary file (_X.tim) that holds this term
|
int |
docFreq
how many docs have this term
|
boolean |
isRealTerm
True if this term is "real" (e.g., not an auto-prefix term or
some other "secret" term; currently only
BlockTreeTermsReader
sets this). |
int |
termBlockOrd
the term's ord in the current block
|
long |
totalTermFreq
total number of occurrences of this term
|
ord| Modifier | Constructor and Description |
|---|---|
protected |
BlockTermState()
Sole constructor.
|
public int docFreq
public long totalTermFreq
public int termBlockOrd
public long blockFilePointer
public boolean isRealTerm
BlockTreeTermsReader
sets this).protected BlockTermState()
public void copyFrom(TermState _other)
TermStateTermState to this instancecopyFrom in class OrdTermState_other - the TermState to copypublic boolean isRealTerm()
TermStateisRealTerm in class TermStatepublic String toString()
toString in class OrdTermStateCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.