Merge remote-tracking branch 'elastic/master' into enrich

This commit is contained in:
Tal Levy 2019-10-04 13:30:57 -07:00
commit 4d3f6816a7
797 changed files with 23457 additions and 7637 deletions

View file

@ -0,0 +1,35 @@
--
:api: slm-execute-snapshot-lifecycle-retention
:request: ExecuteSnapshotLifecycleRetentionRequest
:response: AcknowledgedResponse
--
[role="xpack"]
[id="{upid}-{api}"]
=== Execute Snapshot Lifecycle Retention API
[id="{upid}-{api}-request"]
==== Request
The Execute Snapshot Lifecycle Retention API allows you to execute Snapshot Lifecycle Management
Retention immediately, rather than waiting for its regularly scheduled execution.
["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------
include-tagged::{doc-tests-file}[{api}-request]
--------------------------------------------------
[id="{upid}-{api}-response"]
==== Response
The returned +{response}+ contains a boolean for whether the request was
acknowledged by the master node.
["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------
include-tagged::{doc-tests-file}[{api}-response]
--------------------------------------------------
include::../execution.asciidoc[]

View file

@ -5,12 +5,12 @@
--
[id="{upid}-{api}"]
=== Indices Exists API
=== Index Exists API
[id="{upid}-{api}-request"]
==== Indices Exists Request
==== Index Exists Request
The high-level REST client uses a +{request}+ for Indices Exists API. The index name (or indices' names) are required.
The high-level REST client uses a +{request}+ for Index Exists API. The index name (or indices' names) are required.
["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------
@ -20,7 +20,7 @@ include-tagged::{doc-tests-file}[{api}-request]
[[java-rest-high-indices-exists-optional-args]]
==== Optional arguments
Indices Exists API also accepts following optional arguments, through a +{request}+:
Index exists API also accepts following optional arguments, through a +{request}+:
["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------

View file

@ -21,7 +21,7 @@ list of IDs or a single ID. Wildcards, `*` and `_all` are also accepted.
---------------------------------------------------
include-tagged::{doc-tests-file}[{api}-request]
---------------------------------------------------
<1> Constructing a new stop request referencing an existing {transform}
<1> Constructing a new stop request referencing an existing {transform}.
==== Optional arguments
@ -31,7 +31,7 @@ The following arguments are optional.
--------------------------------------------------
include-tagged::{doc-tests-file}[{api}-request-options]
--------------------------------------------------
<1> If true wait for the transform task to stop before responding
<1> If true wait for the {transform} task to stop before responding.
<2> Controls the amount of time to wait until the {transform} stops.
<3> Whether to ignore if a wildcard expression matches no {transforms}.