Re: SOLRJ replace document

2013-10-19 Thread Brent Ryan
yan > Sent: Friday, October 18, 2013 10:21 PM > To: solr-user@lucene.apache.org > Subject: Re: SOLRJ replace document > > > So I think the issue might be related to the tech stack we're using which > is SOLR within DataStax enterprise which doesn't support atomic updat

Re: SOLRJ replace document

2013-10-18 Thread Jack Krupansky
- From: Brent Ryan Sent: Friday, October 18, 2013 10:21 PM To: solr-user@lucene.apache.org Subject: Re: SOLRJ replace document So I think the issue might be related to the tech stack we're using which is SOLR within DataStax enterprise which doesn't support atomic updates. But I thi

Re: SOLRJ replace document

2013-10-18 Thread Jason Hellman
Keep in mind that DataStax has a custom update handler, and as such isn't exactly a vanilla Solr implementation (even though in many ways it still is). Since updates are co-written to Cassandra and Solr you should always tread a bit carefully when slightly outside what they perceive to be norms

Re: SOLRJ replace document

2013-10-18 Thread Brent Ryan
So I think the issue might be related to the tech stack we're using which is SOLR within DataStax enterprise which doesn't support atomic updates. But I think it must have some sort of bug around this because it doesn't appear to work correctly for this use case when using solrj ... Anyways, I've

Re: SOLRJ replace document

2013-10-18 Thread Shawn Heisey
On 10/18/2013 3:36 PM, Brent Ryan wrote: My schema is pretty simple and has a string field called solr_id as my unique key. Once I get back to my computer I'll send some more details. If you are trying to use a Map object as the value of a field, that is probably why it is interpreting your a

Re: SOLRJ replace document

2013-10-18 Thread Brent Ryan
My schema is pretty simple and has a string field called solr_id as my unique key. Once I get back to my computer I'll send some more details. Brent On Friday, October 18, 2013, Shawn Heisey wrote: > On 10/18/2013 2:59 PM, Brent Ryan wrote: > >> How do I replace a document in solr using solrj l

Re: SOLRJ replace document

2013-10-18 Thread Shawn Heisey
On 10/18/2013 2:59 PM, Brent Ryan wrote: How do I replace a document in solr using solrj library? I keep getting this error back: org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Atomic document updates are not supported unless is configured I don't want to do partial upd

Re: SOLRJ replace document

2013-10-18 Thread Brent Ryan
riday, October 18, 2013 4:59 PM > To: solr-user@lucene.apache.org > Subject: SOLRJ replace document > > How do I replace a document in solr using solrj library? I keep getting > this error back: > > org.apache.solr.client.solrj.**impl.HttpSolrServer$**RemoteSolrException: > Atomi

Re: SOLRJ replace document

2013-10-18 Thread Jack Krupansky
that the update log be enabled using . -- Jack Krupansky -Original Message- From: Brent Ryan Sent: Friday, October 18, 2013 4:59 PM To: solr-user@lucene.apache.org Subject: SOLRJ replace document How do I replace a document in solr using solrj library?

SOLRJ replace document

2013-10-18 Thread Brent Ryan
How do I replace a document in solr using solrj library? I keep getting this error back: org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Atomic document updates are not supported unless is configured I don't want to do partial updates, I just want to replace it... Thanks