Skip to main content

elasticsearch-store / elasticsearch-client/method-helpers/indicesCreate

elasticsearch-client/method-helpers/indicesCreate

Functions

convertIndicesCreateParams()

convertIndicesCreateParams(params, distributionMeta): IndicesCreateParams | { aliases: undefined | {}; index: string; mappings: Record<string, any>; master_timeout: `${number}d` | `${number}h` | `${number}m` | `${number}s` | `${number}ms` | `${number}micros` | `${number}nanos`; settings: undefined | Record<string, any>; 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:4

Parameters

ParameterType
paramsIndicesCreateParams
distributionMetaClientMetadata

Returns

IndicesCreateParams | { aliases: undefined | {}; index: string; mappings: Record<string, any>; master_timeout: `${number}d` | `${number}h` | `${number}m` | `${number}s` | `${number}ms` | `${number}micros` | `${number}nanos`; settings: undefined | Record<string, any>; timeout: `${number}d` | `${number}h` | `${number}m` | `${number}s` | `${number}ms` | `${number}micros` | `${number}nanos`; wait_for_active_shards: WaitForActiveShards; }