Straight forward way to delete all doc

(Nithin Devang) #1

Is there a straight forward way to delete all docs based on type. delete by query do not seem to be working.

(David Pilato) #2

Delete by query should work.

But it's often better to reindex.

Note that in 6.0 you will be allowed to have only one type per index. So removing a type will be the same as removing an index which is the most efficient.

(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.