Does Opensearch Serverless support delete-by-query?

0

When using an OpenSearch Serverless collection, all my POSTs to /my_index/_delete_by_query fail with a 404. These same operations work correctly using a non-serverless OpenSearch domain.

Is delete_by_query supported in serverless? I couldn’t find any docs on this.

Ross
asked 7 months ago877 views
2 Answers
0

For Opensearch Serverless, a collection is a logical grouping of one or more indexes that represent an analytics workload. Perhaps the action that you are trying to do can be found under the section Deleting Collections: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-manage.html. Do note that deleting a collection deletes all data and indexes in the collection. You can't recover collections after you delete them.

Hope it helps!

AWS
answered 7 months ago
0

The supported operations are listed here https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-genref.html#serverless-operations

There is no delete by query so I guess unfortunately no

Jin
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions