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] Status code 500 for hybrid queries with preference=_local flag #606

Closed
ksingh17i opened this issue Feb 16, 2024 · 5 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@ksingh17i
Copy link

What is the bug?

We are getting status 500 on open search dashboard when running hybrid queries with preference=_local and request_cache=true flags. The initial investigation shows the error occurs if the index has 1 shard.

How can one reproduce the bug?

  1. Create one index with only one shard
  2. Populate the data
  3. Run hybrid query with the search pipeline and with preference=_local and request_cache=true flags

What is the expected behavior?

The query should return the matching result with status code 200

What is your host/environment?

AWS Managed OpenSearch 2.11

Do you have any screenshots?

Please find the screenshot attached

Do you have any additional context?

image001
@ksingh17i ksingh17i added bug Something isn't working untriaged labels Feb 16, 2024
@ksingh17i
Copy link
Author

adding @navneet1v in loop, Navneet do we have any ETA for this issue?

@vamshin
Copy link
Member

vamshin commented Feb 22, 2024

@ksingh17i We are evaluating the effort. Will update the ETA soon.

@ksingh17i
Copy link
Author

Hi @vamshin, could you please help prioritizing this and let us know by when can we expect a fix for this.

@vamshin
Copy link
Member

vamshin commented Mar 8, 2024

@ksingh17i we could not get to prioritize this issue. As a work around, you can create more than 1 shard and use request_cache=true. This should work as expected. Also will you be able to help contribute the fix?

@navneet1v
Copy link
Collaborator

@martin-gaievski lets close this issue as the feature is merged.

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

No branches or pull requests

4 participants