API generation
This commit is contained in:
@ -110,6 +110,7 @@ client.bulk({
|
||||
_source_excludes: string | string[],
|
||||
_source_includes: string | string[],
|
||||
pipeline: string,
|
||||
require_alias: boolean,
|
||||
body: object
|
||||
})
|
||||
----
|
||||
@ -147,6 +148,9 @@ link:{ref}/docs-bulk.html[Documentation] +
|
||||
|`pipeline`
|
||||
|`string` - The pipeline id to preprocess incoming documents with
|
||||
|
||||
|`require_alias` or `requireAlias`
|
||||
|`boolean` - Sets require_alias for all incoming documents. Defaults to unset (false)
|
||||
|
||||
|`body`
|
||||
|`object` - The operation definition and data (action-data pairs), separated by newlines
|
||||
|
||||
@ -2407,6 +2411,7 @@ client.index({
|
||||
if_seq_no: number,
|
||||
if_primary_term: number,
|
||||
pipeline: string,
|
||||
require_alias: boolean,
|
||||
body: object
|
||||
})
|
||||
----
|
||||
@ -2454,6 +2459,9 @@ WARNING: This parameter has been deprecated.
|
||||
|`pipeline`
|
||||
|`string` - The pipeline id to preprocess incoming documents with
|
||||
|
||||
|`require_alias` or `requireAlias`
|
||||
|`boolean` - When true, requires destination to be an alias. Default is false
|
||||
|
||||
|`body`
|
||||
|`object` - The document
|
||||
|
||||
@ -2698,6 +2706,32 @@ link:{ref}/data-streams.html[Documentation] +
|
||||
|
||||
|===
|
||||
|
||||
=== indices.dataStreamsStats
|
||||
*Stability:* experimental
|
||||
[source,ts]
|
||||
----
|
||||
client.indices.dataStreamsStats({
|
||||
name: string | string[],
|
||||
expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all',
|
||||
forbid_closed_indices: boolean
|
||||
})
|
||||
----
|
||||
link:{ref}/data-streams.html[Documentation] +
|
||||
[cols=2*]
|
||||
|===
|
||||
|`name`
|
||||
|`string \| string[]` - A comma-separated list of data stream names; use `_all` or empty string to perform the operation on all data streams
|
||||
|
||||
|`expand_wildcards` or `expandWildcards`
|
||||
|`'open' \| 'closed' \| 'hidden' \| 'none' \| 'all'` - Whether to expand wildcard expression to concrete indices that are open, closed or both. +
|
||||
_Default:_ `open`
|
||||
|
||||
|`forbid_closed_indices` or `forbidClosedIndices`
|
||||
|`boolean` - If set to false stats will also collected from closed indices if explicitly specified or if expand_wildcards expands to closed indices +
|
||||
_Default:_ `true`
|
||||
|
||||
|===
|
||||
|
||||
=== indices.delete
|
||||
|
||||
[source,ts]
|
||||
@ -3563,6 +3597,7 @@ client.indices.putMapping({
|
||||
ignore_unavailable: boolean,
|
||||
allow_no_indices: boolean,
|
||||
expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all',
|
||||
write_index_only: boolean,
|
||||
body: object
|
||||
})
|
||||
----
|
||||
@ -3596,6 +3631,9 @@ WARNING: This parameter has been deprecated.
|
||||
|`'open' \| 'closed' \| 'hidden' \| 'none' \| 'all'` - Whether to expand wildcard expression to concrete indices that are open, closed or both. +
|
||||
_Default:_ `open`
|
||||
|
||||
|`write_index_only` or `writeIndexOnly`
|
||||
|`boolean` - When true, applies mappings only to the write index of an alias or data stream
|
||||
|
||||
|`body`
|
||||
|`object` - The mapping definition
|
||||
|
||||
@ -5740,6 +5778,7 @@ client.update({
|
||||
timeout: string,
|
||||
if_seq_no: number,
|
||||
if_primary_term: number,
|
||||
require_alias: boolean,
|
||||
body: object
|
||||
})
|
||||
----
|
||||
@ -5791,6 +5830,9 @@ WARNING: This parameter has been deprecated.
|
||||
|`if_primary_term` or `ifPrimaryTerm`
|
||||
|`number` - only perform the update operation if the last operation that has changed the document has the specified primary term
|
||||
|
||||
|`require_alias` or `requireAlias`
|
||||
|`boolean` - When true, requires destination is an alias. Default is false
|
||||
|
||||
|`body`
|
||||
|`object` - The request definition requires either `script` or partial `doc`
|
||||
|
||||
@ -7990,7 +8032,8 @@ client.ml.getDataFrameAnalyticsStats({
|
||||
id: string,
|
||||
allow_no_match: boolean,
|
||||
from: number,
|
||||
size: number
|
||||
size: number,
|
||||
verbose: boolean
|
||||
})
|
||||
----
|
||||
link:{ref}/get-dfanalytics-stats.html[Documentation] +
|
||||
@ -8010,6 +8053,9 @@ _Default:_ `true`
|
||||
|`number` - specifies a max number of analytics to get +
|
||||
_Default:_ `100`
|
||||
|
||||
|`verbose`
|
||||
|`boolean` - whether the stats response should be verbose
|
||||
|
||||
|===
|
||||
|
||||
=== ml.getDatafeedStats
|
||||
|
||||
Reference in New Issue
Block a user