Re: TimestampUpdateProcessorFactory updates the field even if the value if present

2020-05-27 Thread Erick Erickson
When is “NOW” ;) ?. The process for updating a doc in SolrCloud is: 1> the doc is received by some solr node. 2> the doc is forwarded to the shard leader if necessary. 3> the doc is distributed from the shard leader to all replicas of that shard. 4> the doc is indexed on each replica. So just

Re: TimestampUpdateProcessorFactory updates the field even if the value if present

2020-05-27 Thread gnandre
Thanks for the detailed response, Chris. I am aware of the partial (atomic) updates. Thanks for clarifying the confusion about input document vs indexed document. I was thinking that TimestampUpdateProcessorFactory checks if the value exists in the field inside indexed document before updating it

Re: TimestampUpdateProcessorFactory updates the field even if the value if present

2020-05-26 Thread Chris Hostetter
: Subject: TimestampUpdateProcessorFactory updates the field even if the value : if present : : Hi, : : Following is the update request processor chain. : : < : processor class="solr.TimestampUpdateProcessorFactory"> index_time_stamp_create : : And, here is how the field is defined in

Re: TimestampUpdateProcessorFactory updates the field even if the value if present

2020-05-21 Thread Furkan KAMACI
Hi, Do you have an id field for your documents? On the other hand, does your document count increases when you index it again? Kind Regards, Furkan KAMACI On Fri, May 22, 2020 at 1:03 AM gnandre wrote: > Hi, > > I do not pass that field at all. > > Here is the document that I index again and

Re: TimestampUpdateProcessorFactory updates the field even if the value if present

2020-05-21 Thread gnandre
Hi, I do not pass that field at all. Here is the document that I index again and again to test through Solr Admin UI. { asset_id:"x:1", title:"x" } On Thu, May 21, 2020 at 5:25 PM Furkan KAMACI wrote: > Hi, > > How do you index that document? Do you index it with an empty >

Re: TimestampUpdateProcessorFactory updates the field even if the value if present

2020-05-21 Thread Furkan KAMACI
Hi, How do you index that document? Do you index it with an empty *index_time_stamp_create* field as the second time too? Kind Regards, Furkan KAMACI On Fri, May 22, 2020 at 12:05 AM gnandre wrote: > Hi, > > Following is the update request processor chain. > > > < > processor

TimestampUpdateProcessorFactory updates the field even if the value if present

2020-05-21 Thread gnandre
Hi, Following is the update request processor chain. < processor class="solr.TimestampUpdateProcessorFactory"> index_time_stamp_create And, here is how the field is defined in schema.xml Every time I index the same document, above field changes its value with latest timestamp. According