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
gefragt vor 8 Monaten987 Aufrufe
2 Antworten
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
beantwortet vor 8 Monaten
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
beantwortet vor 7 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen