TermInfopublic final class TermInfo extends Object A TermInfo is the record of information stored for a term. |
Fields Summary |
---|
int | docFreqThe number of documents which contain the term. | long | freqPointer | long | proxPointer | int | skipOffset |
Constructors Summary |
---|
TermInfo()
| TermInfo(int df, long fp, long pp)
docFreq = df;
freqPointer = fp;
proxPointer = pp;
| TermInfo(TermInfo ti)
docFreq = ti.docFreq;
freqPointer = ti.freqPointer;
proxPointer = ti.proxPointer;
skipOffset = ti.skipOffset;
|
Methods Summary |
---|
final void | set(int docFreq, long freqPointer, long proxPointer, int skipOffset)
this.docFreq = docFreq;
this.freqPointer = freqPointer;
this.proxPointer = proxPointer;
this.skipOffset = skipOffset;
| final void | set(org.apache.lucene.index.TermInfo ti)
docFreq = ti.docFreq;
freqPointer = ti.freqPointer;
proxPointer = ti.proxPointer;
skipOffset = ti.skipOffset;
|
|