Interface ShardResponseProcessor
-
- All Known Implementing Classes:
SearchGroupShardResponseProcessor
,StoredFieldsShardResponseProcessor
,TopGroupsShardResponseProcessor
public interface ShardResponseProcessor
Responsible for processing shard responses.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
process(ResponseBuilder rb, ShardRequest shardRequest)
Processes the responses from the specified shardRequest.
-
-
-
Method Detail
-
process
void process(ResponseBuilder rb, ShardRequest shardRequest)
Processes the responses from the specified shardRequest. The result is put into specific fields in the specified rb.- Parameters:
rb
- The ResponseBuilder to put the merge result intoshardRequest
- The shard request containing the responses from all shards.
-
-