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] update_by_query and delete_by_query parameters are incorrect #548

Open
dblock opened this issue Sep 3, 2024 · 0 comments
Open

[BUG] update_by_query and delete_by_query parameters are incorrect #548

dblock opened this issue Sep 3, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@dblock
Copy link
Member

dblock commented Sep 3, 2024

What is the bug?

Trying to use _source with update_by_query and delete_by_query seems to have no effect as either an array of strings (as defined) or a boolean. Cannot get _source to return. Either the documentation is incorrect (https://opensearch.org/docs/latest/api-reference/document-apis/delete-by-query/) or the spec is incorrect or OpenSearch has a bug or is missing a feature.

How can one reproduce the bug?

Add _source to tests/default/indices/update_by_query.yaml and/or tests/default/indices/delete_by_query.yaml.

What is the expected behavior?

Match spec to what's in the OpenSearch code.

Do you have any additional context?

I added tests in #547.

@dblock dblock added bug Something isn't working untriaged good first issue Good for newcomers and removed untriaged labels Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant