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 <arnoldbron...@gmail.com> wrote:

> Hi,
>
> Following is the update request processor chain.
>
> <updateRequestProcessorChain name="DefaultProcessorChain" default="true" >
> <
> processor class="solr.TimestampUpdateProcessorFactory"> <str name=
> "fieldName">index_time_stamp_create</str> </processor> <processor class=
> "solr.LogUpdateProcessorFactory" /> <processor class=
> "solr.RunUpdateProcessorFactory" /> </updateRequestProcessorChain>
>
> And, here is how the field is defined in schema.xml
>
> <field name="index_time_stamp_create" type="date" indexed="true" stored=
> "true" />
>
> Every time I index the same document, above field changes its value with
> latest timestamp. According to TimestampUpdateProcessorFactory  javadoc
> page, if a document does not contain a value in the timestamp field, a new
> Date will be generated and added as the value of that field. After the
> first indexing this document should always have a value, so why then it
> gets updated later?
>
> I am using Solr Admin UI's Documents tab to index the document for testing.
> I am using Solr 6.3 in master-slave architecture mode.
>

Reply via email to