# Delete\_by\_query? , gateway timeout

**URL:** <https://discuss.elastic.co/t/delete-by-query-gateway-timeout/155430>\
**Category:** Elasticsearch\
**Created:** [November 5, 2018, 4:15pm UTC](https://discuss.elastic.co/t/delete-by-query-gateway-timeout/155430 "2018-11-05T16:15:56Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 5, 2018, 6:39pm UTC](https://discuss.elastic.co/t/delete-by-query-gateway-timeout/155430/7 "2018-11-05T18:39:44Z")

</div>

So you have 3827639 documents and you want to remove 3827639 documents?

Just drop the index then!

---

_[View the full topic](https://discuss.elastic.co/t/delete-by-query-gateway-timeout/155430)._
