# Lifecycle policy min\_document to not rollover empty indices

**URL:** <https://discuss.elastic.co/t/lifecycle-policy-min-document-to-not-rollover-empty-indices/280201>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [August 2, 2021, 9:47am UTC](https://discuss.elastic.co/t/lifecycle-policy-min-document-to-not-rollover-empty-indices/280201 "2021-08-02T09:47:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![francois75](https://avatars.discourse-cdn.com/v4/letter/f/278dde/32.png) [@francois75](https://discuss.elastic.co/u/francois75)\
**Post date:** [August 2, 2021, 9:47am UTC](https://discuss.elastic.co/t/lifecycle-policy-min-document-to-not-rollover-empty-indices/280201/1 "2021-08-02T09:47:37Z")

</div>

I've set the max\_age to one day so I have one index per day.

But this rollover also empty indices.

Is there a way to avoid this ?

Adding a min\_document to rollover could help with this.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 30, 2021, 9:48am UTC](https://discuss.elastic.co/t/lifecycle-policy-min-document-to-not-rollover-empty-indices/280201/2 "2021-08-30T09:48:36Z")

</div>

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