public class DfsSearchResult extends TransportResponseimplements SearchPhaseResult
TransportResponse.Empty headers| Constructor and Description |
|---|
DfsSearchResult()
|
DfsSearchResult(long id, SearchShardTarget
|
| Modifier and Type | Method and Description |
|---|---|
static long |
addOne(long value)
|
<any> |
fieldStatistics()
|
DfsSearchResult |
fieldStatistics(<any> fieldStatistics)
|
long |
id()
|
int |
maxDoc()
|
DfsSearchResult |
maxDoc(int maxDoc)
|
static DfsSearchResult |
readDfsSearchResult(StreamInput
|
static <any> |
readFieldStats(StreamInput
|
static <any> |
readFieldStats(StreamInput
|
void |
readFrom(StreamInput
|
static org |
readTermStats(StreamInput
|
SearchShardTarget |
shardTarget()
|
void |
shardTarget(SearchShardTarget
|
static long |
subOne(long value)
|
org |
terms()
|
DfsSearchResult |
termsStatistics(org
|
org |
termStatistics()
|
static void |
writeFieldStats(StreamOutput
|
static void |
writeSingleTermStats(StreamOutput
|
static void |
writeTermStats(StreamOutput
|
void |
writeTo(StreamOutput
|
putHeader, remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putInContextpublic DfsSearchResult()
public DfsSearchResult(long id,
SearchShardTarget shardTarget) public long id()
public SearchShardTargetshardTarget()
public void shardTarget(SearchShardTargetshardTarget)
public DfsSearchResultmaxDoc(int maxDoc)
public int maxDoc()
public DfsSearchResulttermsStatistics(org .apache .lucene .index .Term [] terms, org .apache .lucene .search .TermStatistics [] termStatistics)
public DfsSearchResultfieldStatistics(<any> fieldStatistics)
public org.apache .lucene .index .Term [] terms()
public org.apache .lucene .search .TermStatistics [] termStatistics()
public <any> fieldStatistics()
public static DfsSearchResultreadDfsSearchResult(StreamInput in) throws IOException , ClassNotFoundException
IOException
ClassNotFoundException
public void readFrom(StreamInputin) throws IOException
readFrom in interface
Streamable
readFrom in class
TransportMessage<TransportResponse>
IOException
public void writeTo(StreamOutputout) throws IOException
writeTo in interface
Streamable
writeTo in class
TransportMessage<TransportResponse>
IOException
public static void writeFieldStats(StreamOutputout, <any> fieldStatistics) throws IOException
IOException
public static void writeTermStats(StreamOutputout, org .apache .lucene .search .TermStatistics [] termStatistics) throws IOException
IOException
public static void writeSingleTermStats(StreamOutputout, org .apache .lucene .search .TermStatistics termStatistic) throws IOException
IOException
public static <any> readFieldStats(StreamInputin) throws IOException
IOException
public static <any> readFieldStats(StreamInputin, <any> fieldStatistics) throws IOException
IOException
public static org.apache .lucene .search .TermStatistics [] readTermStats(StreamInput in, org .apache .lucene .index .Term [] terms) throws IOException
IOException
public static long addOne(long value)
public static long subOne(long value)