How to get last modified record from Elasticsearch, when there is no timestamp field?

226 Views Asked by At

In my index, I don't have a timestamp field. I need to fetch only new records added every day, instead of fetching all records every time. Is there any way to do this even though I don't have any timestamp field

1

There are 1 best solutions below

0
On

Elasticsearch doesnot store such fields.

You can use ingest feature or obviously add a timestamp field.