lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yago Riveiro <yago.rive...@gmail.com>
Subject Re: Collection name via Collections API (Solr 4.x)
Date Tue, 02 Apr 2013 16:39:01 GMT
Solr 4.2 implements a feature to proxy requests if the core not exists in node requested. https://issues.apache.org/jira/browse/SOLR-4210

Actually exists a bug in this mechanism https://issues.apache.org/jira/browse/SOLR-4584 

Without the proxy feature, creating the cores using manually or on automatic way, you only
can query the collection in nodes that have least 1 replica of the collection.

If you have a solrCluster with 4 nodes and the collection only have 2 shards without replicas,
then you can only query the collection in 50% of the cluster. (assuming that proxy request
mechanism doesn't work properly)

When I said to create manually the collection, you need to create manually all shards that
form the collection and the replicas in the others nodes of the cluster. It takes work, but
if you want have some control you need to pay the price.

If it is possible that you can manage the name of shard with the collection API, the documentation
doesn't say how.



-- 
Yago Riveiro
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Tuesday, April 2, 2013 at 5:15 PM, Lukasz Kujawa wrote:

> l 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message