# Set the min size of a segment?

**URL:** https://discuss.elastic.co/t/set-the-min-size-of-a-segment/67148
**Category:** Elasticsearch
**Created:** [November 25, 2016, 3:04am UTC](https://discuss.elastic.co/t/set-the-min-size-of-a-segment/67148 "2016-11-25T03:04:50Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Ravi\_Shanker\_Reddy](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@Ravi\_Shanker\_Reddy](https://discuss.elastic.co/u/Ravi_Shanker_Reddy)
#### Post date: [November 25, 2016, 4:26am UTC](https://discuss.elastic.co/t/set-the-min-size-of-a-segment/67148/2 "2016-11-25T04:26:42Z")

</div>

> [@famoss](#):
>
> Because my cluster has a lot of index

How's your index named? If it is based on dates close the indexes which is older and not used for searching.

It may help for you

> [@Adjust index.merge.policy.max\_merged\_segment value to lower result?](https://discuss.elastic.co/t/adjust-index-merge-policy-max-merged-segment-value-to-lower-result/58424):
>
> Hi, I've red this doc [[https://www.elastic.co/guide/en/elasticsearch/reference/1.7/index-modules-merge.html](https://www.elastic.co/guide/en/elasticsearch/reference/1.7/index-modules-merge.html) ] many times, but I'm not sure what is the actual result if set lower value of index.merge.policy.max\_merged\_segment. Assume I have bulk indexing for 3million docs in 30 minutes. If I set lower value than default 5GB, let's say 2.5GB, Will I have better index performance? Will I reduce number of merge that occurred? Will I get fewer segments files? Does this mean in the end, max se…

---

_[View the full topic](https://discuss.elastic.co/t/set-the-min-size-of-a-segment/67148)._
