Hi everyone,
I have a cluster with 6 nodes elasticsearch( 1 master node and 5 data nodes) and I have a very important number of documents.
I would like to reduce this number using Force Merge.
please how can I do it.
many thanks.
Hi everyone,
I have a cluster with 6 nodes elasticsearch( 1 master node and 5 data nodes) and I have a very important number of documents.
I would like to reduce this number using Force Merge.
please how can I do it.
many thanks.
You can not reduce the number of documents by running a force merge.
Where forcemerge can help is if you have deleted documents that are no longer required and you want to reclaim that disk space. If this is what you are looking for, you must first delete the data that you no longer need (_delete_by_query
can be useful for this) and then do a _forcemerge
on the index.
Thanks for your replay,
could you please mention which configurations we should go through to realize that?
Thanks in advance!
Many thanks @rcowart!!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.