Straight forward way to delete all doc

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

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.

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