Such a request is supposed to do directly to one specific shard to DELETE a single document.
For the same reason as you can't do PUT test*/doc/1, you can't do a DELETE test*/doc/1.
When you mean to remove multiple documents, elasticsearch needs first to locate where the documents are (by running a query) and then elasticsearch needs to delete each of them, one by one.
This is what a DELETE BY QUERY is exactly doing behind the scene:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.