## Uses of Class
org.apache.solr.handler.component.ShardRequest

- Packages that use ShardRequest
  Package | Description
  --- | ---
  org.apache.solr.handler.component | `SearchComponent` implementations for use in `SearchHandler`
  org.apache.solr.search.facet | APIs and classes for the JSON Facet API.
  org.apache.solr.search.grouping.distributed | Internal classes used to implement distributed result grouping
  org.apache.solr.search.grouping.distributed.requestfactory | Internal classes used to implement distributed result grouping
  org.apache.solr.search.grouping.distributed.responseprocessor | Internal classes used to implement distributed result grouping
  org.apache.solr.search.stats | APIs and Classes implementing the Stats component used for document frequency calculations.

- - ### Uses of ShardRequest in org.apache.solr.handler.component

    Fields in org.apache.solr.handler.component with type parameters of type ShardRequest
    Modifier and Type | Field and Description
    --- | ---
    `List<ShardRequest>` | ResponseBuilder.`finished`
    `List<ShardRequest>` | ResponseBuilder.`outgoing`

    Methods in org.apache.solr.handler.component that return ShardRequest
    Modifier and Type | Method and Description
    --- | ---
    `ShardRequest` | ShardResponse.`getShardRequest()`

    Methods in org.apache.solr.handler.component with parameters of type ShardRequest
    Modifier and Type | Method and Description
    --- | ---
    `void` | ResponseBuilder.`addRequest(SearchComponent me, ShardRequest sreq)`
    `static void` | SpatialHeatmapFacets.`distribModifyRequest(ShardRequest sreq, LinkedHashMap<String,SpatialHeatmapFacets.HeatmapFacet> heatmapFacets)` Called by FacetComponent's impl of `SearchComponent.modifyRequest(ResponseBuilder, SearchComponent, ShardRequest)`.
    `protected void` | QueryComponent.`handleGroupedResponses(ResponseBuilder rb, ShardRequest sreq)`
    `protected void` | QueryComponent.`handleRegularResponses(ResponseBuilder rb, ShardRequest sreq)`
    `void` | ExpandComponent.`handleResponses(ResponseBuilder rb, ShardRequest sreq)`
    `void` | TermsComponent.`handleResponses(ResponseBuilder rb, ShardRequest sreq)`
    `void` | DebugComponent.`handleResponses(ResponseBuilder rb, ShardRequest sreq)`
    `void` | QueryComponent.`handleResponses(ResponseBuilder rb, ShardRequest sreq)`
    `void` | FacetComponent.`handleResponses(ResponseBuilder rb, ShardRequest sreq)`
    `void` | MoreLikeThisComponent.`handleResponses(ResponseBuilder rb, ShardRequest sreq)`
    `void` | StatsComponent.`handleResponses(ResponseBuilder rb, ShardRequest sreq)`
    `void` | HighlightComponent.`handleResponses(ResponseBuilder rb, ShardRequest sreq)`
    `void` | SearchComponent.`handleResponses(ResponseBuilder rb, ShardRequest sreq)` Called after all responses for a single request were received
    `protected QueryRequest` | HttpShardHandler.`makeQueryRequest(ShardRequest sreq, ModifiableSolrParams params, String shard)` Subclasses could modify the request based on the shard
    `void` | MergeStrategy.`merge(ResponseBuilder rb, ShardRequest sreq)` merge defines the merging behaving of results that are collected from the shards during a distributed search.
    `void` | IterativeMergeStrategy.`merge(ResponseBuilder rb, ShardRequest sreq)`
    `protected void` | QueryComponent.`mergeIds(ResponseBuilder rb, ShardRequest sreq)`
    `void` | ExpandComponent.`modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)`
    `void` | DebugComponent.`modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)`
    `void` | SpellCheckComponent.`modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)`
    `void` | FacetComponent.`modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)`
    `void` | StatsComponent.`modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)`
    `void` | HighlightComponent.`modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)`
    `void` | SearchComponent.`modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)` Called after another component adds a request
    `protected abstract void` | IterativeMergeStrategy.`process(ResponseBuilder rb, ShardRequest sreq)`
    `protected void` | QueryComponent.`returnFields(ResponseBuilder rb, ShardRequest sreq)`
    `void` | ShardResponse.`setShardRequest(ShardRequest rsp)`
    `void` | ShardHandler.`submit(ShardRequest sreq, String shard, ModifiableSolrParams params)`
    `void` | HttpShardHandler.`submit(ShardRequest sreq, String shard, ModifiableSolrParams params, String preferredHostAddress)`
    `abstract void` | ShardHandler.`submit(ShardRequest sreq, String shard, ModifiableSolrParams params, String preferredHostAddress)`
    `protected ShardResponse` | HttpShardHandler.`transfomResponse(ShardRequest sreq, ShardResponse rsp, String shard)` Subclasses could modify the Response based on the the shard
    `protected void` | QueryComponent.`updateStats(ResponseBuilder rb, ShardRequest sreq)`

  - ### Uses of ShardRequest in org.apache.solr.search.facet

    Methods in org.apache.solr.search.facet with parameters of type ShardRequest
    Modifier and Type | Method and Description
    --- | ---
    `void` | FacetModule.`handleResponses(ResponseBuilder rb, ShardRequest sreq)`
    `void` | FacetModule.`modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest sreq)`

  - ### Uses of ShardRequest in org.apache.solr.search.grouping.distributed

    Methods in org.apache.solr.search.grouping.distributed that return ShardRequest
    Modifier and Type | Method and Description
    --- | ---
    `ShardRequest[]` | ShardRequestFactory.`constructRequest(ResponseBuilder rb)` Returns `ShardRequest` instances.

    Methods in org.apache.solr.search.grouping.distributed with parameters of type ShardRequest
    Modifier and Type | Method and Description
    --- | ---
    `void` | ShardResponseProcessor.`process(ResponseBuilder rb, ShardRequest shardRequest)` Processes the responses from the specified shardRequest.

  - ### Uses of ShardRequest in org.apache.solr.search.grouping.distributed.requestfactory

    Methods in org.apache.solr.search.grouping.distributed.requestfactory that return ShardRequest
    Modifier and Type | Method and Description
    --- | ---
    `ShardRequest[]` | SearchGroupsRequestFactory.`constructRequest(ResponseBuilder rb)` Returns `ShardRequest` instances.
    `ShardRequest[]` | TopGroupsShardRequestFactory.`constructRequest(ResponseBuilder rb)` Returns `ShardRequest` instances.
    `ShardRequest[]` | StoredFieldsShardRequestFactory.`constructRequest(ResponseBuilder rb)`

  - ### Uses of ShardRequest in org.apache.solr.search.grouping.distributed.responseprocessor

    Methods in org.apache.solr.search.grouping.distributed.responseprocessor with parameters of type ShardRequest
    Modifier and Type | Method and Description
    --- | ---
    `void` | SearchGroupShardResponseProcessor.`process(ResponseBuilder rb, ShardRequest shardRequest)` Processes the responses from the specified shardRequest.
    `void` | StoredFieldsShardResponseProcessor.`process(ResponseBuilder rb, ShardRequest shardRequest)` Processes the responses from the specified shardRequest.
    `void` | TopGroupsShardResponseProcessor.`process(ResponseBuilder rb, ShardRequest shardRequest)` Processes the responses from the specified shardRequest.

  - ### Uses of ShardRequest in org.apache.solr.search.stats

    Methods in org.apache.solr.search.stats that return ShardRequest
    Modifier and Type | Method and Description
    --- | ---
    `abstract ShardRequest` | StatsCache.`retrieveStatsRequest(ResponseBuilder rb)` Creates a `ShardRequest` to retrieve per-shard stats related to the current query and the current state of the requester's `StatsCache`.
    `ShardRequest` | LocalStatsCache.`retrieveStatsRequest(ResponseBuilder rb)`
    `ShardRequest` | ExactStatsCache.`retrieveStatsRequest(ResponseBuilder rb)`

    Methods in org.apache.solr.search.stats with parameters of type ShardRequest
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | StatsCache.`sendGlobalStats(ResponseBuilder rb, ShardRequest outgoing)` Prepare global stats data to be sent out to shards in this request.
    `void` | LocalStatsCache.`sendGlobalStats(ResponseBuilder rb, ShardRequest outgoing)`
    `void` | ExactStatsCache.`sendGlobalStats(ResponseBuilder rb, ShardRequest outgoing)`

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