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 年前檢視次數 813 次
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.

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

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

回答問題指南