org.apache.solr.search.grouping.distributed.responseprocessor
Class SearchGroupShardResponseProcessor

java.lang.Object
  extended by org.apache.solr.search.grouping.distributed.responseprocessor.SearchGroupShardResponseProcessor
All Implemented Interfaces:
ShardResponseProcessor

public class SearchGroupShardResponseProcessor
extends Object
implements ShardResponseProcessor

Concrete implementation for merging SearchGroup instances from shard responses.


Constructor Summary
SearchGroupShardResponseProcessor()
           
 
Method Summary
 void process(ResponseBuilder rb, ShardRequest shardRequest)
          Processes the responses from the specified shardRequest.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchGroupShardResponseProcessor

public SearchGroupShardResponseProcessor()
Method Detail

process

public void process(ResponseBuilder rb,
                    ShardRequest shardRequest)
Processes the responses from the specified shardRequest. The result is put into specific fields in the specified rb.

Specified by:
process in interface ShardResponseProcessor
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.