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
已提问 1 年前815 查看次数
2 回答
0
已接受的回答

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
支持工程师
已回答 9 个月前
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
专家
已回答 1 年前
  • 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.

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

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

回答问题的准则