You could try switching merge policies and then switching back. I never tried that but I think it might work.
Nik On Oct 10, 2014 12:33 AM, "Jonathan Foy" <[email protected]> wrote: > Hello > > Is there any way of changing the merge settings of a live index without > downtime in ES versions prior to 1.4 (I'm on 1.1.1)? > > After toying with some of the settings for quite a while (such as > index.merge.policy.expunge_deletes_allowed and > index.merge.policy.max_merge_at_once_explicit) I had come to the > conclusion that they were NOT updating dynamically. A dive into the code, > which also led to this issue > <https://github.com/elasticsearch/elasticsearch/issues/7699>, seems to > indicate that prior to 1.4 merge settings are not really dynamically > updateable, and instead would require restarting, closing/reopening an > index, or perhaps relocating shards (the updated values are stored, but > never seem to be applied). I'm looking in TieredMergePolicyProvider to get > this information. > > I'm planning on trying to update our cluster to 1.4 once it's stable, but > until then it would be helpful to be able to tweak these settings as part > of my battle against deleted document creep. So, am I missing something > here, or is simply not possible right now? > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/d59db65a-e467-45aa-a5bc-870c64dc8421%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/d59db65a-e467-45aa-a5bc-870c64dc8421%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPmjWd2m1264o-C3Myow43%2BWctdcLqr7B68vDzVcxf-wNQJ5%3Dw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
