Package org.apache.solr.search.stats
Class CollectionStats
- java.lang.Object
-
- org.apache.solr.search.stats.CollectionStats
-
public class CollectionStats extends Object
Modifiable version ofCollectionStatistics
useful for aggregation of per-shard stats.
-
-
Field Summary
Fields Modifier and Type Field Description long
docCount
String
field
long
maxDoc
long
sumDocFreq
long
sumTotalTermFreq
-
Constructor Summary
Constructors Constructor Description CollectionStats(String field)
CollectionStats(String field, long maxDoc, long docCount, long sumTotalTermFreq, long sumDocFreq)
CollectionStats(org.apache.lucene.search.CollectionStatistics stats)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(CollectionStats stats)
org.apache.lucene.search.CollectionStatistics
toCollectionStatistics()
String
toString()
-
-
-
Field Detail
-
field
public final String field
-
maxDoc
public long maxDoc
-
docCount
public long docCount
-
sumTotalTermFreq
public long sumTotalTermFreq
-
sumDocFreq
public long sumDocFreq
-
-
Method Detail
-
add
public void add(CollectionStats stats)
-
toCollectionStatistics
public org.apache.lucene.search.CollectionStatistics toCollectionStatistics()
-
-