AWS OpenSearch Serverless Scroll API 404 error

0

Does OpenSearch Serverless support scroll api?

According to this, Serverless service has the same api, so the scroll api should also be supported. However, I created a collection, successfully made a request to get the scroll id, then I pass it to the scroll api, but I get a 404 Enter image description here Enter image description here

Artur B
gefragt vor einem Jahr813 Aufrufe
2 Antworten
0
Akzeptierte Antwort

Hello, OpenSearch Serverless does not currently support the scroll API. For the list of Supported OpenSearch API operations you can refer the following link - [+] Supported OpenSearch API operations and permissions - https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-genref.html#serverless-operations

AWS
SUPPORT-TECHNIKER
beantwortet vor 9 Monaten
0

Have you tried performing the GET _search/scroll/<scroll-id>? Adding the scroll ID on the URL like this:

GET _search/scroll/DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAAcWdmpUZDhnRFBUcWFtV21nMmFwUGJEQQ==
profile picture
EXPERTE
beantwortet vor einem Jahr
  • Yes, I have, same result. All requests to _search/scroll return 404 Tried to use Python SDK (and opensearch-py library) for this. It returns 404 too.

    Now I'm wondering if managed OS supports Scroll API. We are moving from ES_7.7, so looks like we have to use cursor pagination (search_after) instead.

    Updated: Just checked managed OS. Scroll API works as expected. So this is OS Serverless only issue

  • Are there any updates on this? I would like to use the scroll API on serverless and still getting a 404 error.

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