You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by ku3ia <de...@gmail.com> on 2014/04/21 15:21:58 UTC

SolrCloud: Preference search request

Hi all. I'd reviewed
https://cwiki.apache.org/confluence/display/solr/Distributed+Requests

but have a question. Does SolrCloud support preference search requests, like
Elasticsearch engine?
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-preference.html

I'm interesting at
_primary
The operation will go and be executed only on the primary shards.

Can it be done with SolrCloud (search requests only on leaders)? Thanks.



--
View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-Preference-search-request-tp4132343.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: SolrCloud: Preference search request

Posted by Shawn Heisey <so...@elyograg.org>.
On 4/21/2014 7:21 AM, ku3ia wrote:
> Hi all. I'd reviewed
> https://cwiki.apache.org/confluence/display/solr/Distributed+Requests
> 
> but have a question. Does SolrCloud support preference search requests, like
> Elasticsearch engine?
> http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-preference.html
> 
> I'm interesting at
> _primary
> The operation will go and be executed only on the primary shards.
> 
> Can it be done with SolrCloud (search requests only on leaders)? Thanks.

SolrCloud does have some limited ability in this area, as you've
discovered in the reference guide.  Currently there is nothing available
to limit the search to only the leaders or to automatically choose local
resources.

http://wiki.apache.org/solr/SolrCloud#Distributed_Requests

I have opened SOLR-6001 in the Jira tracker.

https://issues.apache.org/jira/browse/SOLR-6001

Thanks,
Shawn