public class TermStatistics extends Object
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
|
public TermStatistics(BytesRef term, long docFreq, long totalTermFreq)
public final BytesRef term()
public final long docFreq()
TermsEnum.docFreq()
public final long totalTermFreq()
TermsEnum.totalTermFreq()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.