: <field name="indexed_timestamp" type="date" indexed="true" stored="true" 
default="NOW" multiValued="false"/>

: For some reason when doing delta indexing via DIH, this field is not being 
updated.
: 
: Are timestamp fields updated during DELTA updates?

timestamp fields aren't treated any differnetly then any other field -- as 
far as Solr is concerned this just date field that happens to have a 
default value specified in case the "client" adding documents doesn't 
specify a value for this field -- in your case the "client" is DIH.

One thing that isn't clear from the way your worded your question is 
wether you realize that when DIH does a "delta-import" only new documents 
matching your deltaQuery are "updated" in the index -- all other existing 
documents are left alone (with their "old" value for the 
"indexed_timestamp" field) ... however you should be able to see that any 
*new* documents have a value for the "indexed_timestamp" field.

Perhaps the documents you are looking at where "this field is not being 
updated" weren't actually updated as part of the deltaQuery?  if you look 
at the output from loading DIH in your browser, it will tell you how many 
documents were processed as a result of your last delta-import, and the 
log files will show you the uniqueKey of each doc so you can see exactly 
what was updated.

-Hoss

Reply via email to