Elasticsearch delete past scroll

hi :slight_smile:
I scroll through the entire index by scrolling by 10000 for file output.

But at this time, I have difficulty setting the timeout time. I can not predict how long it will take.
If i give it a long time (scroll = 1m), the memory pops up.
For example, elasticsearch with 2Gb memory can not scroll the 10Gb index.

Is there any way to discard the past content as I scroll?

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