How to fetch the last updated time of the document in ES 5.0


(Renuka Aradhya) #1

This is in 5.0.0 version of ES and using Java APIs.

I am trying to fetch the last updated time and version of the document in ES. I am able to fetch the version but not the last updated time stamp of the document.

Please help me to do this.


(Nik Everett) #2

Have a look at the ingest feature. There is a way to set it up to add the
last modified timestamp to the document. Otherwise elasticsearch doesn't
store such a timestamp.


(system) #3

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.