@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeLong(requestId); hits.writeTo(out); } }
@Override protected void doWriteTo(StreamOutput out) throws IOException { out.writeVInt(from); out.writeVInt(size); Lucene.writeTopDocs(out, topDocs); searchHits.writeTo(out); }
@Override public void writeTo(StreamOutput out) throws IOException { hits.writeTo(out); out.writeOptionalStreamable((InternalAggregations)aggregations); out.writeOptionalStreamable(suggest); out.writeBoolean(timedOut); out.writeOptionalBoolean(terminatedEarly); out.writeOptionalWriteable(profileResults); out.writeVInt(numReducePhases); } }
for (Map.Entry<String, SearchHits> entry : innerHits.entrySet()) { out.writeString(entry.getKey()); entry.getValue().writeTo(out);
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeLong(requestId); hits.writeTo(out); } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeLong(requestId); hits.writeTo(out); } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeLong(requestId); hits.writeTo(out); } }
@Override protected void doWriteTo(StreamOutput out) throws IOException { out.writeVInt(from); out.writeVInt(size); Lucene.writeTopDocs(out, topDocs); searchHits.writeTo(out); }
@Override protected void doWriteTo(StreamOutput out) throws IOException { out.writeVInt(from); out.writeVInt(size); Lucene.writeTopDocs(out, topDocs); searchHits.writeTo(out); }
@Override protected void doWriteTo(StreamOutput out) throws IOException { out.writeVInt(from); out.writeVInt(size); Lucene.writeTopDocs(out, topDocs); searchHits.writeTo(out); }
@Override public void writeTo(StreamOutput out) throws IOException { hits.writeTo(out); out.writeOptionalStreamable((InternalAggregations)aggregations); out.writeOptionalStreamable(suggest); out.writeBoolean(timedOut); out.writeOptionalBoolean(terminatedEarly); out.writeOptionalWriteable(profileResults); out.writeVInt(numReducePhases); } }
@Override public void writeTo(StreamOutput out) throws IOException { hits.writeTo(out); out.writeOptionalStreamable((InternalAggregations)aggregations); out.writeOptionalStreamable(suggest); out.writeBoolean(timedOut); out.writeOptionalBoolean(terminatedEarly); out.writeOptionalWriteable(profileResults); out.writeVInt(numReducePhases); } }
@Override public void writeTo(StreamOutput out) throws IOException { hits.writeTo(out); out.writeOptionalStreamable((InternalAggregations)aggregations); out.writeOptionalStreamable(suggest); out.writeBoolean(timedOut); out.writeOptionalBoolean(terminatedEarly); out.writeOptionalWriteable(profileResults); if (out.getVersion().onOrAfter(Version.V_5_4_0)) { out.writeVInt(numReducePhases); } } }
for (Map.Entry<String, SearchHits> entry : innerHits.entrySet()) { out.writeString(entry.getKey()); entry.getValue().writeTo(out);
for (Map.Entry<String, SearchHits> entry : innerHits.entrySet()) { out.writeString(entry.getKey()); entry.getValue().writeTo(out);
for (Map.Entry<String, SearchHits> entry : innerHits.entrySet()) { out.writeString(entry.getKey()); entry.getValue().writeTo(out);