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
asked a year ago755 views
2 Answers
0
Accepted Answer

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 ENGINEER
answered 8 months ago
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
EXPERT
answered a year ago
  • 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.

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