Delay in data reflection

Delay in data while reading.

We are inserting in Elasticsearch particular index, but the data is getting reflected after 1 or 2 hours. It's not happening all the time.

I need suggestions to replicate it and fix for it.

What do you mean by reflected?
Did you change the refresh settings?

Hi @dadoonet

After inserting the data, when I perform read operation, it's not giving me the data, When I try after 1 or 2 hours, it's giving me the data.

I didn't set any refresh_interval for any index.

That does not make any sense.

Share your index settings and your elasticsearch.yml file and your logs please.