public class DfsSearchResult extends SearchPhaseResult
TransportResponse.Empty
requestId
Constructor and Description |
---|
DfsSearchResult() |
DfsSearchResult(long id,
SearchShardTarget shardTarget) |
Modifier and Type | Method and Description |
---|---|
static long |
addOne(long value) |
com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics> |
fieldStatistics() |
DfsSearchResult |
fieldStatistics(com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics> fieldStatistics) |
int |
maxDoc() |
DfsSearchResult |
maxDoc(int maxDoc) |
static com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics> |
readFieldStats(StreamInput in) |
static com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics> |
readFieldStats(StreamInput in,
com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics> fieldStatistics) |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
static org.apache.lucene.search.TermStatistics[] |
readTermStats(StreamInput in,
org.apache.lucene.index.Term[] terms) |
static long |
subOne(long value) |
org.apache.lucene.index.Term[] |
terms() |
DfsSearchResult |
termsStatistics(org.apache.lucene.index.Term[] terms,
org.apache.lucene.search.TermStatistics[] termStatistics) |
org.apache.lucene.search.TermStatistics[] |
termStatistics() |
static void |
writeFieldStats(StreamOutput out,
com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics> fieldStatistics) |
static void |
writeSingleTermStats(StreamOutput out,
org.apache.lucene.search.TermStatistics termStatistic) |
static void |
writeTermStats(StreamOutput out,
org.apache.lucene.search.TermStatistics[] termStatistics) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
fetchResult, getRequestId, getSearchShardTarget, getShardIndex, queryResult, setSearchShardTarget, setShardIndex
remoteAddress, remoteAddress
public DfsSearchResult()
public DfsSearchResult(long id, SearchShardTarget shardTarget)
public DfsSearchResult maxDoc(int maxDoc)
public int maxDoc()
public DfsSearchResult termsStatistics(org.apache.lucene.index.Term[] terms, org.apache.lucene.search.TermStatistics[] termStatistics)
public DfsSearchResult fieldStatistics(com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics> fieldStatistics)
public org.apache.lucene.index.Term[] terms()
public org.apache.lucene.search.TermStatistics[] termStatistics()
public com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics> fieldStatistics()
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class TransportMessage
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class TransportMessage
java.io.IOException
public static void writeFieldStats(StreamOutput out, com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics> fieldStatistics) throws java.io.IOException
java.io.IOException
public static void writeTermStats(StreamOutput out, org.apache.lucene.search.TermStatistics[] termStatistics) throws java.io.IOException
java.io.IOException
public static void writeSingleTermStats(StreamOutput out, org.apache.lucene.search.TermStatistics termStatistic) throws java.io.IOException
java.io.IOException
public static com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics> readFieldStats(StreamInput in) throws java.io.IOException
java.io.IOException
public static com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics> readFieldStats(StreamInput in, com.carrotsearch.hppc.ObjectObjectHashMap<java.lang.String,org.apache.lucene.search.CollectionStatistics> fieldStatistics) throws java.io.IOException
java.io.IOException
public static org.apache.lucene.search.TermStatistics[] readTermStats(StreamInput in, org.apache.lucene.index.Term[] terms) throws java.io.IOException
java.io.IOException
public static long addOne(long value)
public static long subOne(long value)