# Bulk delete ids

**URL:** https://discuss.elastic.co/t/bulk-delete-ids/4317
**Category:** Elasticsearch
**Created:** [April 29, 2011, 1:53pm UTC](https://discuss.elastic.co/t/bulk-delete-ids/4317 "2011-04-29T13:53:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ruflin\_2](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@ruflin\_2](https://discuss.elastic.co/u/ruflin_2)
#### Post date: [April 29, 2011, 1:53pm UTC](https://discuss.elastic.co/t/bulk-delete-ids/4317/1 "2011-04-29T13:53:53Z")

</div>

With es 0.16.0 the \_id is not stored by default anymore. Will the bulk  
delete still work as it is listed in the documentation?

{ "delete" : { "\_index" : "test", "\_type" : "type1", "\_id" : "2" } }

---

<div class="post-metadata">

### Author: ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)
#### Post date: [April 29, 2011, 3:15pm UTC](https://discuss.elastic.co/t/bulk-delete-ids/4317/2 "2011-04-29T15:15:48Z")

</div>

Yes, it will work. Also delete directly by id. No functionality is list except for using \_id in places like term query (but you can use ids query), or sorting by it.  
On Friday, April 29, 2011 at 4:53 PM, ruflin wrote:

> With es 0.16.0 the \_id is not stored by default anymore. Will the bulk  
> delete still work as it is listed in the documentation?
> 
> { "delete" : { "\_index" : "test", "\_type" : "type1", "\_id" : "2" } }

---

<div class="post-metadata">

### Author: ![ruflin\_2](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@ruflin\_2](https://discuss.elastic.co/u/ruflin_2)
#### Post date: [April 29, 2011, 5:02pm UTC](https://discuss.elastic.co/t/bulk-delete-ids/4317/3 "2011-04-29T17:02:20Z")

</div>

Perfect. Thanks for your support.

On Apr 29, 5:15 pm, Shay Banon [shay.ba...@elasticsearch.com](mailto:shay.ba...@elasticsearch.com) wrote:

> Yes, it will work. Also delete directly by id. No functionality is list except for using \_id in places like term query (but you can use ids query), or sorting by it.
> 
> On Friday, April 29, 2011 at 4:53 PM, ruflin wrote:
> 
> > With es 0.16.0 the \_id is not stored by default anymore. Will the bulk  
> > delete still work as it is listed in the documentation?
> 
> > { "delete" : { "\_index" : "test", "\_type" : "type1", "\_id" : "2" } }

---

<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 6, 2017, 4:07am UTC](https://discuss.elastic.co/t/bulk-delete-ids/4317/4 "2017-07-06T04:07:23Z")

</div>


