public class CollectionStats extends Object
CollectionStatistics
useful for
aggregation of per-shard stats.Modifier and Type | Field and Description |
---|---|
long |
docCount |
String |
field |
long |
maxDoc |
long |
sumDocFreq |
long |
sumTotalTermFreq |
Constructor and Description |
---|
CollectionStats(CollectionStatistics stats) |
CollectionStats(String field) |
CollectionStats(String field,
long maxDoc,
long docCount,
long sumTotalTermFreq,
long sumDocFreq) |
Modifier and Type | Method and Description |
---|---|
void |
add(CollectionStats stats) |
CollectionStatistics |
toCollectionStatistics() |
String |
toString() |
public final String field
public long maxDoc
public long docCount
public long sumTotalTermFreq
public long sumDocFreq
public CollectionStats(String field)
public CollectionStats(String field, long maxDoc, long docCount, long sumTotalTermFreq, long sumDocFreq)
public CollectionStats(CollectionStatistics stats)
public void add(CollectionStats stats)
public CollectionStatistics toCollectionStatistics()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.