Bulk delete ids


(ruflin-2) #1

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" } }


(Shay Banon) #2

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" } }


(ruflin-2) #3

Perfect. Thanks for your support.

On Apr 29, 5:15 pm, Shay Banon 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" } }


(system) #4