Skip to content

Conversation

@jrodewig
Copy link
Contributor

Backports the following commits to 7.12:

PR #55884 removed documentation for several query parameters from the search API
docs. During tests, I failed to notice that these are valid parameters but require other parameters to use.

Changes:

* Notes the following search API parameters require the `q` query string parameter:

  * `analyzer`
  * `analyze_wildcard`
  * `default_operator`
  * `df`
  * `lenient`

* Notes the following search API parameters require the `suggest_field` and `suggest_text` query parameters:

  * `suggest_mode`
  * `suggest_size`

* Re-adds the above parameters to the search API docs.

These changes also affect API documentation that reuses the search API parameters:

* Delete by query API
* Update by query API
* Count API
* Explain API
* Validate API

Closes #79674
@jrodewig jrodewig added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Oct 25, 2021
@elasticsearchmachine elasticsearchmachine merged commit e63d2cb into elastic:7.12 Oct 25, 2021
@jrodewig jrodewig deleted the backport/7.12/pr-79716 branch October 25, 2021 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v7.12.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants