documentation-website icon indicating copy to clipboard operation
documentation-website copied to clipboard

[DOC] Delete_by_query bad option

Open sebasfalcone opened this issue 10 months ago • 1 comments

What do you want to do?

  • [ ] Request a change to existing documentation
  • [ ] Add new documentation
  • [x] Report a technical problem with the documentation
  • [ ] Other

Tell us about your request. Provide a summary of the request. The delete_by_query section states that the options for the refresh parameter are false, true, wait_for, but the type is boolean:

Image

If we test the wait_for option we see that it is not a valid value:

Image

Version: List the OpenSearch version to which this issue applies, e.g. 2.14, 2.12--2.14, or all.

What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

  • https://opensearch.org/docs/latest/api-reference/document-apis/delete-by-query/
  • Steps: Run a delete_by_query request with the refresh parameter set to wait_for

sebasfalcone avatar Feb 04 '25 17:02 sebasfalcone

Thanks for reporting this @sebasfalcone. I'll send a fix through shortly.

Naarcha-AWS avatar Feb 04 '25 19:02 Naarcha-AWS

@kolchfa-aws

natebower avatar Jul 14 '25 20:07 natebower