Skip to content

Commit

Permalink
[DOCS] Mark 'ignore_throttled' deprecated in all docs (elastic#101838)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdonpijpelink authored Nov 7, 2023
1 parent 9132f95 commit 70128f5
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 16 deletions.
6 changes: 4 additions & 2 deletions docs/reference/indices/resolve.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,11 @@ include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=allow-no-indices]
+
Defaults to `true`.

include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=ignore_throttled]
`ignore_throttled`::
(Optional, Boolean) If `true`, concrete, expanded or aliased indices are
ignored when frozen. Defaults to `false`.
+
Defaults to `false`.
deprecated:[7.16.0]

[[resolve-index-api-example]]
==== {api-examples-title}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=expand-wildcards]
Defaults to `open`.

include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=ignore_throttled]
+
deprecated:[7.16.0]

`ignore_unavailable`::
(Optional, Boolean) If `true`, unavailable indices (missing or closed) are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=expand-wildcards]
Defaults to `open`.

include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=ignore_throttled]
+
deprecated:[7.16.0]

`ignore_unavailable`::
(Optional, Boolean) If `true`, unavailable indices (missing or closed) are
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/rest-api/common-parms.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,8 @@ tag::ignore_throttled[]
`ignore_throttled`::
(Optional, Boolean) If `true`, concrete, expanded or aliased indices are
ignored when frozen. Defaults to `true`.
+
deprecated:[7.16.0]
end::ignore_throttled[]

tag::index-ignore-unavailable[]
Expand Down
5 changes: 1 addition & 4 deletions docs/reference/search/multi-search.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,7 @@ include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=expand-wildcards]
+
Defaults to `open`.

`ignore_throttled`::
(Optional, Boolean)
If `true`, concrete, expanded or aliased indices are ignored when frozen.
Defaults to `true`.
include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=ignore_throttled]

include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=index-ignore-unavailable]

Expand Down
4 changes: 1 addition & 3 deletions docs/reference/search/search-template-api.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=expand-wildcards]
(Optional, Boolean) If `true`, the response includes additional details about
score computation as part of a hit. Defaults to `false`.

`ignore_throttled`::
(Optional, Boolean) If `true`, specified concrete, expanded, or aliased indices
are not included in the response when throttled. Defaults to `true`.
include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=ignore_throttled]

include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=index-ignore-unavailable]

Expand Down
4 changes: 1 addition & 3 deletions docs/reference/search/search.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ By default, you cannot page through more than 10,000 hits using the `from` and
`size` parameters. To page through more hits, use the
<<search-after,`search_after`>> parameter.

`ignore_throttled`::
(Optional, Boolean) If `true`, concrete, expanded or aliased indices will be
ignored when frozen. Defaults to `true`.
include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=ignore_throttled]

include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=index-ignore-unavailable]

Expand Down

0 comments on commit 70128f5

Please sign in to comment.