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.
|
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(TermState _other)
Copies the content of the given
TermState to this instance |
boolean |
isRealTerm()
Returns true if this term is real (e.g., not an auto-prefix term).
|
String |
toString() |
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)
TermState
TermState
to this instancecopyFrom
in class OrdTermState
_other
- the TermState to copypublic boolean isRealTerm()
TermState
isRealTerm
in class TermState
public String toString()
toString
in class OrdTermState
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.