Skip to main content

elasticsearch-store / elasticsearch-client/method-helpers/reindex

elasticsearch-client/method-helpers/reindex

Functions

convertReIndexParams()

convertReIndexParams(params, distributionMeta): { body: ReindexBody; refresh: boolean; requests_per_second: number; slices: string | number; timeout: string; wait_for_active_shards: number | "all"; wait_for_completion: boolean; } | { dest: { index: string; op_type: OpType; type: string; version_type: VersionType; }; max_docs: number; refresh: boolean; requests_per_second: number; scroll: string; slices: string | number; source: { _source: string | boolean | string[]; index: string; query: Record<string, any>; remote: Remote; size: number; slice: { id: number; max: number; }; }; timeout: string; wait_for_active_shards: number | "all"; wait_for_completion: boolean; }

Defined in: elasticsearch-store/src/elasticsearch-client/method-helpers/reindex.ts:4

Parameters

ParameterType
paramsReindexParams
distributionMetaClientMetadata

Returns

{ body: ReindexBody; refresh: boolean; requests_per_second: number; slices: string | number; timeout: string; wait_for_active_shards: number | "all"; wait_for_completion: boolean; } | { dest: { index: string; op_type: OpType; type: string; version_type: VersionType; }; max_docs: number; refresh: boolean; requests_per_second: number; scroll: string; slices: string | number; source: { _source: string | boolean | string[]; index: string; query: Record<string, any>; remote: Remote; size: number; slice: { id: number; max: number; }; }; timeout: string; wait_for_active_shards: number | "all"; wait_for_completion: boolean; }