Re: SolrCloud replication server and Master Server

2013-08-01 Thread Shawn Heisey
On 8/1/2013 7:24 AM, Prasi S wrote: > I am rephrasing my question, > > Currently what i haev is > > Solr 8080 -> Shard1Shard2- Replica > Solr 9090 -> Shard 2 Shard 1 - Replica > > Can we have something like > > Solr 8080 -> Shard 1, Shard 2 > solr 9090 -> Shard2-Replica , Shard1- R

Re: SolrCloud replication server and Master Server

2013-08-01 Thread Prasi S
Thank Rafal. I would check on that mzShardsPerNode.. On Thu, Aug 1, 2013 at 7:06 PM, Rafał Kuć wrote: > Hello! > > Take a look at http://wiki.apache.org/solr/SolrCloud - when creating a > collection you can specify the maxShardsPerNode parameter, which > allows you to control how many shards of

Re: SolrCloud replication server and Master Server

2013-08-01 Thread Rafał Kuć
Hello! Take a look at http://wiki.apache.org/solr/SolrCloud - when creating a collection you can specify the maxShardsPerNode parameter, which allows you to control how many shards of a given collection is permitted to be placed on a single node. By default it is set to 1, try setting it to 2 when

Re: SolrCloud replication server and Master Server

2013-08-01 Thread Prasi S
I am rephrasing my question, Currently what i haev is Solr 8080 -> Shard1Shard2- Replica Solr 9090 -> Shard 2 Shard 1 - Replica Can we have something like Solr 8080 -> Shard 1, Shard 2 solr 9090 -> Shard2-Replica , Shard1- Replica On Thu, Aug 1, 2013 at 6:40 PM, Prasi S wrote:

Re: SolrCloud replication server and Master Server

2013-08-01 Thread Prasi S
Here when i create a single shard and a replica, then my shard will be on one server and replcia in teh other isn't ? On Thu, Aug 1, 2013 at 6:29 PM, Rafał Kuć wrote: > Hello! > > There is no master - slave in SolrCloud. You can create a collection > that has only a single shard and have one re

Re: SolrCloud replication server and Master Server

2013-08-01 Thread Rafał Kuć
Hello! There is no master - slave in SolrCloud. You can create a collection that has only a single shard and have one replica. When you send an indexing request it will be forwarded to the leader shard (in your case you want it to be the instance running on 8080), however both Solr instances will

SolrCloud replication server and Master Server

2013-08-01 Thread Prasi S
I have a requirement to set solrcloud with 2 instances of Solr( one on 8080 and otehr on 9090 ports respectivey) and a Zookeeper ensembe( 3 modes). Can I have one solr instance as a Master and the other as a replcia of the Master. Because, when i set up a solrcloud and index to one of the solr ru