FileDocCategorySizeDatePackage
TermInfo.javaAPI DocApache Lucene 2.1.01755Wed Feb 14 10:46:40 GMT 2007org.apache.lucene.index

TermInfo

public final class TermInfo extends Object
A TermInfo is the record of information stored for a term.

Fields Summary
int
docFreq
The 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 voidset(int docFreq, long freqPointer, long proxPointer, int skipOffset)

    this.docFreq = docFreq;
    this.freqPointer = freqPointer;
    this.proxPointer = proxPointer;
    this.skipOffset = skipOffset;
  
final voidset(org.apache.lucene.index.TermInfo ti)

    docFreq = ti.docFreq;
    freqPointer = ti.freqPointer;
    proxPointer = ti.proxPointer;
    skipOffset = ti.skipOffset;