You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2011/06/16 08:58:47 UTC

[jira] [Commented] (SOLR-2592) Pluggable shard lookup mechanism for SolrCloud

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

Noble Paul commented on SOLR-2592:
----------------------------------

This is why I created the issue SOLR-1431 . It may have a configuration as follows

{code:xml}
<requestHandler name="standard" class="solr.SearchHandler" default="true">
    <!-- other params go here -->
 
     <shardHandler class="CloudShardHandler"/>
</requestHandler>
{code}



The CloudShardHandler should lookup ZK and return all the shards return all the shards by default. 


I should be able to write a custom FqFilterCloudShardHandler and narrow down the requests to one or more shards
{code:xml}
<requestHandler name="standard" class="solr.SearchHandler" default="true">
    <!-- other params go here -->
 
     <shardHandler class="FqFilterCloudShardHandler"/>
</requestHandler>
{code}




> Pluggable shard lookup mechanism for SolrCloud
> ----------------------------------------------
>
>                 Key: SOLR-2592
>                 URL: https://issues.apache.org/jira/browse/SOLR-2592
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>    Affects Versions: 4.0
>            Reporter: Noble Paul
>
> If the data in a cloud can be partitioned on some criteria (say range, hash, attribute value etc) It will be easy to narrow down the search to a smaller subset of shards and in effect can achieve more efficient 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