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

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

public class TopGroupsShardResponseProcessor
extends Object
implements ShardResponseProcessor

Concrete implementation for merging TopGroups instances from shard responses.


Constructor Summary
TopGroupsShardResponseProcessor()
           
 
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

TopGroupsShardResponseProcessor

public TopGroupsShardResponseProcessor()
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.