org.apache.solr.search.grouping.distributed.requestfactory
Class TopGroupsShardRequestFactory
java.lang.Object
org.apache.solr.search.grouping.distributed.requestfactory.TopGroupsShardRequestFactory
- All Implemented Interfaces:
- ShardRequestFactory
public class TopGroupsShardRequestFactory
- extends Object
- implements ShardRequestFactory
Concrete implementation of ShardRequestFactory
that creates ShardRequest
instances for getting the
top groups from all shards.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GROUP_NULL_VALUE
public static final String GROUP_NULL_VALUE
- Represents a string value for
- See Also:
- Constant Field Values
TopGroupsShardRequestFactory
public TopGroupsShardRequestFactory()
constructRequest
public ShardRequest[] constructRequest(ResponseBuilder rb)
- Returns
ShardRequest
instances.
Never returns null
. If no ShardRequest
instances are constructed an empty array is returned.
- Specified by:
constructRequest
in interface ShardRequestFactory
- Parameters:
rb
- The response builder
- Returns:
ShardRequest
instances
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.