Re: Solr Delta Queries

2010-05-25 Thread Chris Hostetter

: 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



Solr Delta Queries

2010-05-20 Thread Vladimir Sutskever
I have a indexed_timestamp field  in my index - which lets me know when 
document was indexed:

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?


Kind regards,

Vladimir Sutskever
Investment Bank - Technology
JPMorgan Chase, Inc.



This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  

Solr Delta Queries

2010-05-19 Thread Vladimir Sutskever
I have a indexed_timestamp field  in my index - which lets me know when 
document was indexed:

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?



Kind regards,

Vladimir Sutskever
Investment Bank - Technology
JPMorgan Chase, Inc.



This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.