You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mike Anderson (JIRA)" <ji...@apache.org> on 2010/09/24 21:18:33 UTC

[jira] Created: (SOLR-2132) Distributed query to duplicate shards

Distributed query to duplicate shards
-------------------------------------

                 Key: SOLR-2132
                 URL: https://issues.apache.org/jira/browse/SOLR-2132
             Project: Solr
          Issue Type: New Feature
          Components: search
            Reporter: Mike Anderson
            Priority: Minor


I think it would be useful to have the option of specifying shard "sets" in the shards parameter. Such that if all shards in a set are replicating from the same master (and thus have the same documents) the HTTPCommComponent will honor the first shard to respond and not wait for the subsequent shards in the same set. This will improve performance in the use case when one shard is occasionally slow and holds up the entire response. I'm not sure if this is a feature that other people want, but I thought I'd post the code none the less.

-Mike

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (SOLR-2132) Distributed query to duplicate shards

Posted by "Mike Anderson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Anderson updated SOLR-2132:
--------------------------------

    Attachment: SOLR-2132.patch

Here's a patch that accomplishes the above, however I didn't write tests for it. 

-Mike

> Distributed query to duplicate shards
> -------------------------------------
>
>                 Key: SOLR-2132
>                 URL: https://issues.apache.org/jira/browse/SOLR-2132
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>            Reporter: Mike Anderson
>            Priority: Minor
>         Attachments: SOLR-2132.patch
>
>
> I think it would be useful to have the option of specifying shard "sets" in the shards parameter. Such that if all shards in a set are replicating from the same master (and thus have the same documents) the HTTPCommComponent will honor the first shard to respond and not wait for the subsequent shards in the same set. This will improve performance in the use case when one shard is occasionally slow and holds up the entire response. I'm not sure if this is a feature that other people want, but I thought I'd post the code none the less.
> -Mike

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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