@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); requestId = in.readLong(); hits = SearchHits.readSearchHits(in); }
/** * Read from a stream. */ public InternalTopHits(StreamInput in) throws IOException { super(in); from = in.readVInt(); size = in.readVInt(); topDocs = Lucene.readTopDocs(in); searchHits = SearchHits.readSearchHits(in); }
public InternalSearchResponse(StreamInput in) throws IOException { super( SearchHits.readSearchHits(in), in.readBoolean() ? InternalAggregations.readAggregations(in) : null, in.readBoolean() ? Suggest.readSuggest(in) : null, in.readBoolean(), in.readOptionalBoolean(), in.readOptionalWriteable(SearchProfileShardResults::new), in.readVInt() ); }
for (int i = 0; i < size; i++) { String key = in.readString(); SearchHits value = SearchHits.readSearchHits(in); innerHits.put(key, value);
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); requestId = in.readLong(); hits = SearchHits.readSearchHits(in); }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); requestId = in.readLong(); hits = SearchHits.readSearchHits(in); }
@Override public void readFrom(StreamInput in) throws IOException { super.readFrom(in); requestId = in.readLong(); hits = SearchHits.readSearchHits(in); }
/** * Read from a stream. */ public InternalTopHits(StreamInput in) throws IOException { super(in); from = in.readVInt(); size = in.readVInt(); topDocs = Lucene.readTopDocs(in); assert topDocs != null; searchHits = SearchHits.readSearchHits(in); }
/** * Read from a stream. */ public InternalTopHits(StreamInput in) throws IOException { super(in); from = in.readVInt(); size = in.readVInt(); topDocs = Lucene.readTopDocs(in); assert topDocs != null; searchHits = SearchHits.readSearchHits(in); }
/** * Read from a stream. */ public InternalTopHits(StreamInput in) throws IOException { super(in); from = in.readVInt(); size = in.readVInt(); topDocs = Lucene.readTopDocs(in); assert topDocs != null; searchHits = SearchHits.readSearchHits(in); }
public InternalSearchResponse(StreamInput in) throws IOException { super( SearchHits.readSearchHits(in), in.readBoolean() ? InternalAggregations.readAggregations(in) : null, in.readBoolean() ? Suggest.readSuggest(in) : null, in.readBoolean(), in.readOptionalBoolean(), in.readOptionalWriteable(SearchProfileShardResults::new), in.readVInt() ); }
public InternalSearchResponse(StreamInput in) throws IOException { super( SearchHits.readSearchHits(in), in.readBoolean() ? InternalAggregations.readAggregations(in) : null, in.readBoolean() ? Suggest.readSuggest(in) : null, in.readBoolean(), in.readOptionalBoolean(), in.readOptionalWriteable(SearchProfileShardResults::new), in.readVInt() ); }
logger.debug("Reading hits..."); final SearchHits hits = SearchHits.readSearchHits(in); final SearchHits newHits = doReorder(hits, from, size, reorderSize, scriptInfo); if (logger.isDebugEnabled()) {
logger.debug("Reading hits..."); final SearchHits hits = SearchHits.readSearchHits(in); final SearchHits newHits = doReorder(hits, from, size, reorderSize, scriptInfo); if (logger.isDebugEnabled()) {
for (int i = 0; i < size; i++) { String key = in.readString(); SearchHits value = SearchHits.readSearchHits(in); innerHits.put(key, value);
for (int i = 0; i < size; i++) { String key = in.readString(); SearchHits value = SearchHits.readSearchHits(in); innerHits.put(key, value);
for (int i = 0; i < size; i++) { String key = in.readString(); SearchHits value = SearchHits.readSearchHits(in); innerHits.put(key, value);
public InternalSearchResponse(StreamInput in) throws IOException { super( SearchHits.readSearchHits(in), in.readBoolean() ? InternalAggregations.readAggregations(in) : null, in.readBoolean() ? Suggest.readSuggest(in) : null, in.readBoolean(), in.readOptionalBoolean(), in.readOptionalWriteable(SearchProfileShardResults::new), in.getVersion().onOrAfter(Version.V_5_4_0) ? in.readVInt() : 1 ); }