You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jason Rutherglen (JIRA)" <ji...@apache.org> on 2011/09/20 03:44:08 UTC

[jira] [Commented] (SOLR-2778) Revise distributed code inside SearchComponents

    [ https://issues.apache.org/jira/browse/SOLR-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108316#comment-13108316 ] 

Jason Rutherglen commented on SOLR-2778:
----------------------------------------

Sweet-ness.com!

> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org