opensearch-project / opensearch-api-specification

API specification for OpenSearch
Apache License 2.0
33 stars 62 forks source link

[BUG] Operations of Path '/_search/scroll' are not marked as unsupported for amazon-serverless #640

Open VeitSanner opened 3 weeks ago

VeitSanner commented 3 weeks ago

What is the bug?

According to AWS OpenSearch Serverless Scroll API 404 error | AWS re:Post, the scroll API is currently not supported by AWS OpenSearch serverless. All of the operations under the path /_search/scroll are documented to be supported by all distributions.

How can one reproduce the bug?

N/A

What is the expected behavior?

The operations under the path /_search/scroll have the following property added:

x-distributions-excluded:
  - amazon-serverless

What is your host/environment?

N/A

Do you have any screenshots?

N/A

Do you have any additional context?

It would be good to understand how reliable the information regarding the support of individual operations by a respective distribution is.

dblock commented 3 weeks ago

Please do contribute! Note that we currently don't run regular tests against serverless because we don't have an instance we can use in CI, and it doesn't work locally blocked on https://github.com/jamesmbourne/aws4-axios/pull/1621 and https://github.com/mhart/aws4/pull/169. And finally, check out https://github.com/opensearch-project/opensearch-api-specification/issues/522.