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 個月前檢視次數 986 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南