I use delete by query
plugin to delete docs,and then want to use forcemerge
api to release the disk space.
Here are my index stats response.curl localhost:9200/ota-frontloglist-2016-06-21/_stats
"docs": {
"count": 114648,
"deleted": 5311
},
"merges": {
"current": 0,
"current_docs": 0,
"current_size_in_bytes": 0,
"total": 0,
"total_time_in_millis": 0,
"total_docs": 0,
"total_size_in_bytes": 0,
"total_stopped_time_in_millis": 0,
"total_throttled_time_in_millis": 0,
"total_auto_throttle_in_bytes": 125829120
},
Here is my force merge command curl -XPOST 'http://localhost:9200/ota-frontloglist-2016-06-21/_forcemerge?only_expunge_deletes=true'
I waited a long time, but the index stats
has no change.
my elasticsearch
's version V2.3.1
Thank you!