Refresh_interval and segment size

Hi Elastic Team. In my current cluster, refresh_interval is set to 5m , cluster jvm heap memory is 8g , index.buffer defaults to 10% , but when I continue to index, I still find very small segments, such as a few kb . According to my understanding the refresh mechanism should not generate such a small segment, why is it?

Welcome to our community! :smiley:

It'll create whatever size segment that it needs based on the data that is being ingested - Near real-time search | Elasticsearch Guide [8.2] | Elastic goes into the process a bit more.

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