# Recommended Merge Option

**URL:** <https://discuss.elastic.co/t/recommended-merge-option/2233>\
**Category:** Elasticsearch\
**Created:** [June 9, 2015, 4:11pm UTC](https://discuss.elastic.co/t/recommended-merge-option/2233 "2015-06-09T16:11:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mosiddi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mosiddi/32/577_2.png) [@mosiddi](https://discuss.elastic.co/u/mosiddi)\
**Post date:** [June 9, 2015, 4:11pm UTC](https://discuss.elastic.co/t/recommended-merge-option/2233/1 "2015-06-09T16:11:49Z")

</div>

Guys,  
In a system where u could expect a decent rate of update request, say 10% of overall documents getting updated daily, what is the merge setting for -

> [Merge | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-merge.html#tiered)  
> index.merge.policy.reclaim\_deletes\_weight

one would recommend so we have the deleted document count very much under control. We have seen in cases, the deleted document count goes up to 30% and stays there. We end up doing periodic expunge delete.

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [June 9, 2015, 5:27pm UTC](https://discuss.elastic.co/t/recommended-merge-option/2233/2 "2015-06-09T17:27:37Z")

</div>

> [@mosiddi](#):
>
> We end up doing periodic expunge delete.

Are the all in larger segments? I've seen similar issues with large segments.

---

<div class="post-metadata">

**Author:** ![mosiddi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mosiddi/32/577_2.png) [@mosiddi](https://discuss.elastic.co/u/mosiddi)\
**Post date:** [June 9, 2015, 5:59pm UTC](https://discuss.elastic.co/t/recommended-merge-option/2233/3 "2015-06-09T17:59:23Z")

</div>

yes, mostly

---

<div class="post-metadata">

**Author:** ![mosiddi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mosiddi/32/577_2.png) [@mosiddi](https://discuss.elastic.co/u/mosiddi)\
**Post date:** [June 13, 2015, 6:13am UTC](https://discuss.elastic.co/t/recommended-merge-option/2233/4 "2015-06-13T06:13:56Z")

</div>

replying so thread becomes latest and people can share views about this one.

---

<div class="post-metadata">

**Author:** ![mikemccand](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@mikemccand](https://discuss.elastic.co/u/mikemccand)\
**Post date:** [June 14, 2015, 9:54am UTC](https://discuss.elastic.co/t/recommended-merge-option/2233/5 "2015-06-14T09:54:13Z")

</div>

Be very careful increasing this setting too much: it can cause way too much merging to happen.

This blog post has more details: [https://www.elastic.co/blog/lucenes-handling-of-deleted-documents](https://www.elastic.co/blog/lucenes-handling-of-deleted-documents)

---

<div class="post-metadata">

**Author:** ![mosiddi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mosiddi/32/577_2.png) [@mosiddi](https://discuss.elastic.co/u/mosiddi)\
**Post date:** [June 14, 2015, 2:28pm UTC](https://discuss.elastic.co/t/recommended-merge-option/2233/6 "2015-06-14T14:28:56Z")

</div>

I see. thanks! This is good info.

---

<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:** [July 6, 2017, 12:07am UTC](https://discuss.elastic.co/t/recommended-merge-option/2233/7 "2017-07-06T00:07:37Z")

</div>


