Invalid index name [_all], must not start with '_']

Hi all,

When I try to delete all documents by id:

POST /_all/_delete_by_query
{"query": {"match":
{"id":"xxxxxxxx"}
}}

I get the following error:

400 Bad Request: [{"error":"RemoteTransportException[[Launch_001][inet[]][indices:admin/create]]; nested: InvalidIndexNameException[[_all] Invalid index name [_all], must not start with '_']; ","status":400}]

What could be the problem? is /_all not correct?

Thank you in advance!

Would that work?

POST /_delete_by_query
{"query": {"match":
{"id":"xxxxxxxx"}
}}

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