public class TermStatistics
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private long |
docFreq |
private BytesRef |
term |
private long |
totalTermFreq |
Constructor and Description |
---|
TermStatistics(BytesRef term,
long docFreq,
long totalTermFreq) |
Modifier and Type | Method and Description |
---|---|
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
|
private final BytesRef term
private final long docFreq
private final long totalTermFreq
public TermStatistics(BytesRef term, long docFreq, long totalTermFreq)
public final BytesRef term()
public final long docFreq()
TermsEnum.docFreq()
public final long totalTermFreq()
TermsEnum.totalTermFreq()