Elasticsearch Store: `Elasticsearch Client Method Helpers Indices Create`
Table of contents
Functions
Functions
convertIndicesCreateParams
▸ convertIndicesCreateParams(params
, distributionMeta
): IndicesCreateParams
| { aliases
: undefined
| { [alias: string]
: Alias
; } = body.aliases; index
: string
; mappings
: undefined
| { properties
: any
= v } ; master_timeout?
: `${number}d` | `${number}h` | `${number}m` | `${number}s` | `${number}ms` | `${number}micros` | `${number}nanos` ; settings
: undefined
| Record
<string
, any
> = body.settings; timeout?
: `${number}d` | `${number}h` | `${number}m` | `${number}s` | `${number}ms` | `${number}micros` | `${number}nanos` ; wait_for_active_shards?
: WaitForActiveShards
} | { body
: { aliases?
: { [alias: string]
: Alias
; } ; index_patterns?
: string
| string
[] ; mappings
: undefined
| { properties
: any
= v } ; settings?
: Record
<string
, any
> } = newBody; cluster_manager_timeout?
: `${number}d` | `${number}h` | `${number}m` | `${number}s` | `${number}ms` | `${number}micros` | `${number}nanos` = master_timeout; index
: string
; timeout?
: `${number}d` | `${number}h` | `${number}m` | `${number}s` | `${number}ms` | `${number}micros` | `${number}nanos` ; wait_for_active_shards?
: WaitForActiveShards
}
Parameters
Name | Type |
---|---|
params | IndicesCreateParams |
distributionMeta | ClientMetadata |
Returns
IndicesCreateParams
| { aliases
: undefined
| { [alias: string]
: Alias
; } = body.aliases; index
: string
; mappings
: undefined
| { properties
: any
= v } ; master_timeout?
: `${number}d` | `${number}h` | `${number}m` | `${number}s` | `${number}ms` | `${number}micros` | `${number}nanos` ; settings
: undefined
| Record
<string
, any
> = body.settings; timeout?
: `${number}d` | `${number}h` | `${number}m` | `${number}s` | `${number}ms` | `${number}micros` | `${number}nanos` ; wait_for_active_shards?
: WaitForActiveShards
} | { body
: { aliases?
: { [alias: string]
: Alias
; } ; index_patterns?
: string
| string
[] ; mappings
: undefined
| { properties
: any
= v } ; settings?
: Record
<string
, any
> } = newBody; cluster_manager_timeout?
: `${number}d` | `${number}h` | `${number}m` | `${number}s` | `${number}ms` | `${number}micros` | `${number}nanos` = master_timeout; index
: string
; timeout?
: `${number}d` | `${number}h` | `${number}m` | `${number}s` | `${number}ms` | `${number}micros` | `${number}nanos` ; wait_for_active_shards?
: WaitForActiveShards
}
Defined in
elasticsearch-store/src/elasticsearch-client/method-helpers/indicesCreate.ts:8