|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.search.CollectionStatistics
public class CollectionStatistics
Contains statistics for a collection (field)
Constructor Summary | |
---|---|
CollectionStatistics(String field,
long maxDoc,
long docCount,
long sumTotalTermFreq,
long sumDocFreq)
|
Method Summary | |
---|---|
long |
docCount()
returns the total number of documents that have at least one term for this field. |
String |
field()
returns the field name |
long |
maxDoc()
returns the total number of documents, regardless of whether they all contain values for this field. |
long |
sumDocFreq()
returns the total number of postings for this field |
long |
sumTotalTermFreq()
returns the total number of tokens for this field |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectionStatistics(String field, long maxDoc, long docCount, long sumTotalTermFreq, long sumDocFreq)
Method Detail |
---|
public final String field()
public final long maxDoc()
IndexReader.maxDoc()
public final long docCount()
Terms.getDocCount()
public final long sumTotalTermFreq()
Terms.getSumTotalTermFreq()
public final long sumDocFreq()
Terms.getSumDocFreq()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |