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
已提问 8 个月前989 查看次数
2 回答
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
已回答 8 个月前
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
已回答 7 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则