Test run of new docs
This commit is contained in:
70
docs/reference-indices-split.asciidoc
Normal file
70
docs/reference-indices-split.asciidoc
Normal file
@ -0,0 +1,70 @@
|
||||
[[reference-indices-split]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|
||||
|| You should update the script that does the generation, which can be found in: ||
|
||||
|| https://github.com/elastic/elastic-client-generator-js ||
|
||||
|| ||
|
||||
|| You can run the script with the following command: ||
|
||||
|| npm run elasticsearch -- --version <version> ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
===========================================================================================================================
|
||||
////////
|
||||
|
||||
[discrete]
|
||||
=== client.indices.split
|
||||
|
||||
Splits an existing index into a new index with more primary shards.
|
||||
|
||||
{ref}/indices-split-index.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(IndicesSplitRequest, options?): Promise<IndicesSplitResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `IndicesSplitRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface IndicesSplitRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
index: <<shared-type-index-name, IndexName>>
|
||||
target: <<shared-type-index-name, IndexName>>
|
||||
master_timeout?: <<shared-type-duration, Duration>>
|
||||
timeout?: <<shared-type-duration, Duration>>
|
||||
wait_for_active_shards?: <<shared-type-wait-for-active-shards, WaitForActiveShards>>
|
||||
aliases?: Record<<<shared-type-index-name, IndexName>>, IndicesAlias>
|
||||
settings?: Record<string, any>
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `IndicesSplitResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface IndicesSplitResponse {
|
||||
acknowledged: boolean
|
||||
shards_acknowledged: boolean
|
||||
index: <<shared-type-index-name, IndexName>>
|
||||
}
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user