Delete mapping and type in a index : es 2.0


(vinay gupta) #1

Hi

Whats the best way to delete all the documents in type and its mapping from an index?
I have download the delete by query plugin,
Thanks
Vinay


(Mark Walkom) #2

The DBQ plugin is the best of the worst options.
You are better off putting different types in different indices though.


(system) #3