Package org.apache.lucene.search
Class TermStatistics
java.lang.Object
org.apache.lucene.search.TermStatistics
Contains statistics for a specific term
-
Constructor Details
-
TermStatistics
-
-
Method Details
-
term
returns the term text -
docFreq
public final long docFreq()returns the number of documents this term occurs in- See Also:
-
totalTermFreq
public final long totalTermFreq()returns the total number of occurrences of this term- See Also:
-