How to get the date when a document got to the index


(Ridvan Gyundogan) #1

If I put a document to the index, how can I understand when is the
last date this document has been put to the index.

By put I mean either the date the document was submitted to the index
or when it was indexed. Either will work for me.


(Clinton Gormley) #2

On Fri, 2011-02-18 at 03:15 -0800, Ridvan Gyundogan wrote:

If I put a document to the index, how can I understand when is the
last date this document has been put to the index.

By put I mean either the date the document was submitted to the index
or when it was indexed. Either will work for me.

You will need to store a 'last_modified' field containing the current
date time as part of the doc.

clint


(system) #3