Re: Error while trying to index doc on replica

2014-01-15 Thread aabreur
Solved. It was a 'misconfigured' solrconfig.xml Had this: Fixed backing to default and adding a path for json updates: application/json -- View this message in context: http://lucene.472066.n3.nabble.com/Error-while-trying-to-index-doc-on-replica-tp4111504p4111534.html Sent from t

Re: Error while trying to index doc on replica

2014-01-15 Thread aabreur
Thanks Erick.. When tailing the log i get several similar errors: INFO - 2014-01-15 18:28:50.250; org.apache.solr.update.processor.LogUpdateProcessor; [ds_target] webapp=/solr path=/update params={distrib.from=http://172.0.60.97:80/solr/ds_target/&update.distrib=TOLEADER&wt=javabin&version=2} {}

Error while trying to index doc on replica

2014-01-15 Thread aabreur
I have a collection that has only one shard. There are two nodes of this shard, a leader and a replica. When trying to index a doc to the leader, everything goes OK: POST xx.x.xx.x/solr/ds_target/update?commit=true { "add": { "doc": { "key1": "value1", "key2": "value2"

Leader Election, when?

2013-07-11 Thread aabreur
I have a working Zookeeper ensemble running with 3 instances and also a solrcloud cluster with some solr instances. I've created a collection with settings to 2 shards. Then i: create 1 core on instance1 create 1 core on instance2 create 1 core on instance1 create 1 core on instance2 Just to have