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

## Class TopGroupsShardResponseProcessor

- java.lang.Object
- - 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

    Constructors
    Constructor and Description
    `TopGroupsShardResponseProcessor()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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-2016 Apache Software Foundation. All Rights Reserved.