Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Search Pipeline API Errors in OpenSearch 2.7.0 and 2.8.0 #13339

Closed
saimedhi opened this issue Apr 22, 2024 · 1 comment · Fixed by #13344
Closed

[BUG] Search Pipeline API Errors in OpenSearch 2.7.0 and 2.8.0 #13339

saimedhi opened this issue Apr 22, 2024 · 1 comment · Fixed by #13344
Labels
bug Something isn't working Search Search query, autocomplete ...etc untriaged

Comments

@saimedhi
Copy link
Contributor

Describe the bug

Search Pipeline APIs were recently added to opensearch-py. While running the REST API Spec tests here, I'm encountering failures in OpenSearch 2.7.0 and 2.8.0

Failures: 1, 2

Even after connecting to the server directly, I still received the same error for OpenSearch 2.7.0 and 2.8.0 The API works fine for other OpenSearch versions.

PUT https://localhost:9200/_search/pipeline/my_pipeline

body = {
            "description": "_descrninpnvtion",
            "request_processors": [
            ]
          }

{
    "error": "no handler found for uri [/_search/pipeline/my_pipeline] and method [PUT]"
}

Related component

Search

To Reproduce

Go to 'https://github.com/opensearch-project/opensearch-py/actions/runs/8757559757/job/24036460997?pr=726'

Expected behavior

  • Fix the errors or skip the tests for this versions here.

Additional Details

No response

@saimedhi saimedhi added bug Something isn't working untriaged labels Apr 22, 2024
@github-actions github-actions bot added the Search Search query, autocomplete ...etc label Apr 22, 2024
@msfroh
Copy link
Collaborator

msfroh commented Apr 23, 2024

Search pipelines went GA in OpenSearch 2.9.0, didn't they?

They were announced for 2.9: https://opensearch.org/blog/introducing-opensearch-2.9.0/

Prior to that, they were gated behind a feature flag -- the integ tests were enabling the feature flag. I guess we can update the integ tests to pretend that search pipelines didn't exist at all prior to 2.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Search Search query, autocomplete ...etc untriaged
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants