Revise distributed code inside SearchComponents
-----------------------------------------------

                 Key: SOLR-2778
                 URL: https://issues.apache.org/jira/browse/SOLR-2778
             Project: Solr
          Issue Type: Improvement
            Reporter: Martijn van Groningen


The distributed code inside search components such as QueryComponent and 
FacetComponent is complex. By structuring responsibilities
the code becomes less complex and easier to understand. There is already a 
start for this that was part of distributed grouping (SOLR-2066).
The following concepts were developed inside QueryComponent for SOLR-2066:
* ShardRequestFactory is responsible for creating requests to shards in the 
cluster based on the incoming request from the client.
* ShardResultTransformer. Transforming a NamedList response from the client in 
for example SearchGroup or TopDocs instance.
* ShardResponseProcessor. Basically merges the shard responses. The 
ShardReponseProcessor uses a ShardResultTransformer to transform the shard 
response into a native structure (SearchGroup / TopGroups).

These concepts are now only used for distributed grouping, but I think can also 
be used for non grouped distributed search.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to