Re: Solr Atomic Document update Conditional

2017-05-18 Thread Dan .
Hi, Why not write a custom UpdateRequestProcessor if it's a special case from the norm then place it in it's own chain and do update like http:// .../update/json?&update.chain= Cheers, Dan On 18 May 2017 at 09:05, Aman Deep Singh wrote: > Hi , > Is their any way to do the SOLR atomic

Re: Solr Atomic Document update Conditional

2017-05-18 Thread Aman Deep Singh
Hi Shawn, Solr optimistic concurrency is worked fine only for 1 field But in my case two or more field can be updated at a same time But one field can not be updated if its corresponding timestamp is greater than request time On 18-May-2017 6:15 PM, "Shawn Heisey" wrote: On 5/18/2017 2:05 AM, A

Re: Solr Atomic Document update Conditional

2017-05-18 Thread Shawn Heisey
On 5/18/2017 2:05 AM, Aman Deep Singh wrote: > Is their any way to do the SOLR atomic update based on some condition > Suppose in my SOLR schema i have some fields > >1. field1 >2. field2 >3. field1_timestamp >4. field2_timestamp > > Now i have to update value of field1 only if fiel

Solr Atomic Document update Conditional

2017-05-18 Thread Aman Deep Singh
Hi , Is their any way to do the SOLR atomic update based on some condition Suppose in my SOLR schema i have some fields 1. field1 2. field2 3. field1_timestamp 4. field2_timestamp Now i have to update value of field1 only if field1_timestamp is less then the provided timestamp I found