Re: Update handler and atomic update

2019-03-19 Thread THIERRY BOUCHENY
> http://localhost:8983/solr/.../update? > [{"id":"docid","clicks":{“inc”:"1"}}]commit=true > > I do not get an error, but it does not increase the value of clicks > (unfortunately). > > Best regards > > Martin >

Re: Update handler and atomic update

2019-03-19 Thread THIERRY BOUCHENY
Hi Martin, Have you tried doing a POST with some JSON or XML Body. I would POST some json like the following [{"id":"docid","clicks":{“inc”:"1"}}] In an /update?commit=true Best regards Thierry See documentation here https://lucene.apache.org/solr/guide/6_6/updating-parts-of-documents.html

Re: Solr or SolrJ Atomic Update

2019-03-18 Thread THIERRY BOUCHENY
Hi all, Ok, I found my problem, it was a silly one as I expected !!! In my schema the “uniqueKey” was spelled with a small cap k !! Thierry > On 15 Mar 2019, at 19:03, THIERRY BOUCHENY wrote: > > Hello, > > I have spent a few hours trying to understand why I

Re: Solr or SolrJ Atomic Update

2019-03-16 Thread THIERRY BOUCHENY
was explicitly disabled from this updateRequestProcessorChain Best regards Thierry > On 16 Mar 2019, at 19:34, Mikhail Khludnev wrote: > > Maybe you can share the error you are talking about? > > On Fri, Mar 15, 2019 at 10:03 PM THIERRY BOUCHENY > wrote: > >> Hello, >

Solr or SolrJ Atomic Update

2019-03-15 Thread THIERRY BOUCHENY
Hello, I have spent a few hours trying to understand why I get this error. RunUpdateProcessor has received an AddUpdateCommand containing a document that appears to still contain Atomic document update operations, most likely because DistributedUpdateProcessorFactory was explicitly disabled