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
feita há um ano815 visualizações
2 Respostas
0
Resposta aceita

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
ENGENHEIRO DE SUPORTE
respondido há 9 meses
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
ESPECIALISTA
respondido há um ano
  • 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.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas