|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.search.TermStatistics
public class TermStatistics
Contains statistics for a specific term
Constructor Summary | |
---|---|
TermStatistics(BytesRef term,
long docFreq,
long totalTermFreq)
|
Method Summary | |
---|---|
long |
docFreq()
returns the number of documents this term occurs in |
BytesRef |
term()
returns the term text |
long |
totalTermFreq()
returns the total number of occurrences of this term |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TermStatistics(BytesRef term, long docFreq, long totalTermFreq)
Method Detail |
---|
public final BytesRef term()
public final long docFreq()
TermsEnum.docFreq()
public final long totalTermFreq()
TermsEnum.totalTermFreq()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |