In one of our index we are going to remove the docs.deleted documents,but after the execution still the docs.deleted is not reducing
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
green open 193 uD67TWj2Sf2obEKw 5 1 44584203 2284288 578.9gb 288.8gb
It looks like you overall have about 5% deleted documents in your index. According to the docs expunging deletes only considers segments with over 10% (default) deleted documents.
Given that a forcemerge can be expensive, why are you looking to expunge these? Is the index no longer being updated?
Why do you need to do this? It seems a relatively small portion of the documents are deleted. Forcemerging will increase disk usage before any is released. Do you have enough space to handle this?
I am not sure forcemerging this way is the best way. Have you followed the guidelines in the docs?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.