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

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.

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.

1 Like

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