Re: SolrCloud - Configuring replicationFactor

2012-10-18 Thread balaji.gandhi
If I want 2 nodes, 2 shards and 2 replicas, is Collections API the only way to do it? Like this:- http://people.apache.org/~markrmiller/2shard4server2.jpg Balaji Gandhi, Senior Software Developer, Horizontal Platform Services Product Engineering | Apollo Group, Inc. 1225 W. Washington St. |

Re: SolrCloud - Configuring replicationFactor

2012-10-18 Thread Mark Miller
On Thu, Oct 18, 2012 at 10:03 PM, balaji.gandhi wrote: > That was really helpful. I will try the Collections API. > > Is there a plan to support replication using solr.xml? The basic idea is that you only configure the core in solr.xml for the number of replicas that you want... If you have more

Re: SolrCloud - Configuring replicationFactor

2012-10-18 Thread balaji.gandhi
That was really helpful. I will try the Collections API. Is there a plan to support replication using solr.xml? Balaji Gandhi, Senior Software Developer, Horizontal Platform Services Product Engineering | Apollo Group, Inc. 1225 W. Washington St. | AZ23 | Tempe, AZ 85281 Phone: 602.713.241

Re: SolrCloud - Configuring replicationFactor

2012-10-18 Thread Mark Miller
It depends on how you create your collection. If you want to pre configure your collection in solr.xml (collection1 comes this way), then everything depends on what you set for numShards on startup. If you wanted to have one collection across 4 nodes with 2 shards, each shard with 1 leader and

Re: SolrCloud - Configuring replicationFactor

2012-10-18 Thread balaji.gandhi
Thanks for ur reply. "force the replicationFactor" - I meant can we say 2 replicas and 2 nodes, like the below:- http://people.apache.org/~markrmiller/2shard4server2.jpg Balaji Gandhi, Senior Software Developer, Horizontal Platform Services Product Engineering | Apollo Group, Inc. 1225 W. Was

Re: SolrCloud - Configuring replicationFactor

2012-10-18 Thread Tomás Fernández Löbbe
Hi Balaji, what do you mean with "force the replicationFactor"? There is not much documentation about the replicationFactor because it's very new, but see this previous discussion: http://find.searchhub.org/document/80b91db21b1befa6 and the comments here: https://issues.apache.org/jira/browse/SOLR-