# There is no response of \_forcemerge api

**URL:** https://discuss.elastic.co/t/there-is-no-response-of--forcemerge-api/53749
**Category:** Elasticsearch
**Created:** [June 23, 2016, 8:36am UTC](https://discuss.elastic.co/t/there-is-no-response-of--forcemerge-api/53749 "2016-06-23T08:36:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![famoss](https://avatars.discourse-cdn.com/v4/letter/f/67e7ee/32.png) [@famoss](https://discuss.elastic.co/u/famoss)
#### Post date: [June 23, 2016, 8:36am UTC](https://discuss.elastic.co/t/there-is-no-response-of--forcemerge-api/53749/1 "2016-06-23T08:36:45Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)
#### Post date: [July 5, 2016, 8:04am UTC](https://discuss.elastic.co/t/there-is-no-response-of--forcemerge-api/53749/2 "2016-07-05T08:04:21Z")

</div>

Hi @famoss,

how long did you wait? Did the curl with the force merge succeed? What was the HTTP status code? Also: Did you look at the Elasticsearch logs (i.e. what Elasticsearch did during this time)?

Daniel

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 5, 2017, 10:38pm UTC](https://discuss.elastic.co/t/there-is-no-response-of--forcemerge-api/53749/3 "2017-07-05T22:38:19Z")

</div>


