Package org.elasticsearch.search.dfs
Class AggregatedDfs
java.lang.Object
org.elasticsearch.search.dfs.AggregatedDfs
- All Implemented Interfaces:
Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
ConstructorDescriptionAggregatedDfs(com.carrotsearch.hppc.ObjectObjectHashMap<org.apache.lucene.index.Term,org.apache.lucene.search.TermStatistics> termStatistics, com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> fieldStatistics, long maxDoc)
AggregatedDfs(StreamInput in)
-
Method Summary
Modifier and TypeMethodDescriptioncom.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics>
long
maxDoc()
com.carrotsearch.hppc.ObjectObjectHashMap<org.apache.lucene.index.Term,org.apache.lucene.search.TermStatistics>
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
Constructor Details
-
AggregatedDfs
- Throws:
IOException
-
AggregatedDfs
public AggregatedDfs(com.carrotsearch.hppc.ObjectObjectHashMap<org.apache.lucene.index.Term,org.apache.lucene.search.TermStatistics> termStatistics, com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> fieldStatistics, long maxDoc)
-
-
Method Details
-
termStatistics
public com.carrotsearch.hppc.ObjectObjectHashMap<org.apache.lucene.index.Term,org.apache.lucene.search.TermStatistics> termStatistics() -
fieldStatistics
public com.carrotsearch.hppc.ObjectObjectHashMap<String,org.apache.lucene.search.CollectionStatistics> fieldStatistics() -
maxDoc
public long maxDoc() -
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-