Re: partial update in solr

2018-10-30 Thread Zahra Aminolroaya
Alex I use solr 7. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: partial update in solr

2018-10-29 Thread Amrit Sarkar
Hi Zahra, To answer your question on seeing "No such processor atomic" with AtomicUpdateProcessorFactory; The feature is introduced in Solr 6.6.1 and 7.0 and is available in the versions later. I am trying the below on v 7.4 and it is working fine, without adding any component on solrconfig.xml:

Re: partial update in solr

2018-10-29 Thread Alexandre Rafalovitch
I am not sure. I haven't tried this particular path. Your original question was without using SolrJ. Maybe others have. However, I am also not sure how much sense this makes. This Atomic processor is to make it easier to do the merge when you cannot modify the source documents. But if you are alre

Re: partial update in solr

2018-10-29 Thread Shawn Heisey
On 10/29/2018 7:40 AM, Zahra Aminolroaya wrote: Thanks Alex. I want to have a query for atomic update with solrj like below: http://localhost:8983/solr/test4/update?preprocessor=atomic&atomic.text2=set&atomic.text=set&atomic.text3=set&commit=true&stream.body=%3Cadd%3E%3Cdoc%3E%3Cfield%20name=%22

Re: partial update in solr

2018-10-29 Thread Zahra Aminolroaya
Thanks Alex. I want to have a query for atomic update with solrj like below: http://localhost:8983/solr/test4/update?preprocessor=atomic&atomic.text2=set&atomic.text=set&atomic.text3=set&commit=true&stream.body=%3Cadd%3E%3Cdoc%3E%3Cfield%20name=%22id%22%3E11%3C/field%3E%3Cfield%20name=%22text3%22%

Re: partial update in solr

2018-10-29 Thread Alexandre Rafalovitch
Maybe this was introduced in the later version of Solr. Check the Changes file to compare yours and the releases version. Regards, Alex On Mon, Oct 29, 2018, 6:37 AM Zahra Aminolroaya, wrote: > Thanks Alex. I try the following to set the atomic processor: > > http://localhost:8983/solr/tes

Re: partial update in solr

2018-10-29 Thread Zahra Aminolroaya
Thanks Alex. I try the following to set the atomic processor: http://localhost:8983/solr/test4/update?processor=atomic&Atomic.text2=add However, I get the following error: 400 4 org.apache.solr.common.SolrException org.apache.solr.common.SolrException No such processor atomic 400 I rea

Re: partial update in solr

2018-10-24 Thread Alexandre Rafalovitch
You could use something like AtomicUpdateProcessorFactory: https://lucene.apache.org/solr/guide/7_5/update-request-processors.html#atomicupdateprocessorfactory Regards, Alex. On Wed, 24 Oct 2018 at 04:48, Zahra Aminolroaya wrote: > > Does Solr have a partial update like elastic? > > Elastic wi