Index with heavy updates/deletes, deleted docs on the rise

ES 5.5.2

I'm running a single index that has lots of constant changes. I have noticed that my disk usage space keeps increasing and rarely drops. After doing some investigation, I found out that my docs.deleted count is 5 times larger than the active doc count.

What are some ways that I can deal with this problem? I have tried using https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-forcemerge.html with only_expunge_deletes - but that just seems to run indefinitely and not remove anything.

docs.count 27,471,426
docs.deleted 152,377,223

Any help would be appreciated.

Thanks

Can you please post the output of GET _cat/segments/<index_name>?v ?

(Note: If it's too big output, then try posting it in https://gist.github.com/ and link it here)

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