org.apache.solr.search.grouping.distributed
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
 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 into
shardRequest - The shard request containing the responses from all shards.


Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.