Package org.terrier.realtime.multi
Class MultiStats
- java.lang.Object
-
- org.terrier.structures.CollectionStatistics
-
- org.terrier.realtime.multi.MultiStats
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.hadoop.io.Writable
public class MultiStats extends CollectionStatistics
A collection statistics class for use with a MultiIndex. This class aggregates the statistics from each index shard within the MultiIndex.- Since:
- 4.0
- Author:
- Richard McCreadie, Stuart Mackie
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.terrier.structures.CollectionStatistics
averageDocumentLength, avgFieldLengths, fieldNames, fieldTokens, hasPositions, numberOfDocuments, numberOfFields, numberOfPointers, numberOfTokens, numberOfUniqueTerms
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MultiStats
factory(CollectionStatistics[] stats)
Constructor.-
Methods inherited from class org.terrier.structures.CollectionStatistics
addStatistics, getAverageDocumentLength, getAverageFieldLengths, getFieldNames, getFieldTokens, getNumberOfDocuments, getNumberOfFields, getNumberOfPointers, getNumberOfPostings, getNumberOfTokens, getNumberOfUniqueTerms, hasPositions, readFields, readFieldsV5, recalculateAverageLengths, toString, write
-
-
-
-
Method Detail
-
factory
public static MultiStats factory(CollectionStatistics[] stats)
Constructor.
-
-