Re: SolrCloud error while propagating update to primary ZK node

2012-07-08 Thread avenka
I tried adding in two ways with the same outcome: (1) using solrj to call HttpSolrServer.add(docList) using BinaryRequestWriter; (2) using DataImportHandler to import directly from a database through a db-data-config.xml file. The document I'm adding has a long primary key id field and a few ot

Re: SolrCloud error while propagating update to primary ZK node

2012-07-08 Thread Mark Miller
Can you show us exactly how you are adding the document? Eg, what update handler are you using, and what is the document you are adding? On Jul 8, 2012, at 12:52 PM, avenka wrote: > I get a JSON parse error (pasted below) when I send an update to a replica > node. I downloaded solr 4 alpha and f

Re: SolrCloud error while propagating update to primary ZK node

2012-07-08 Thread Jack Krupansky
In theory, with SolrCloiud you can add to any replica and the change gets propagated automatically to all of the other replicas for that shard. In theory. The stack trace message suggests that Solr is trying to parse your input as JSON when in fact your input is XML. I vaguely recall that Yoni