Elasticsearch Store: `Elasticsearch Client Method Helpers Reindex`
Table of contents
Functions
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
} = body.dest; 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
} } = body.source; timeout?
: string
; wait_for_active_shards?
: number
| "all"
; wait_for_completion?
: boolean
}
Parameters
Name | Type |
---|---|
params | ReindexParams |
distributionMeta | ClientMetadata |
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
} = body.dest; 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
} } = body.source; timeout?
: string
; wait_for_active_shards?
: number
| "all"
; wait_for_completion?
: boolean
}
Defined in
elasticsearch-store/src/elasticsearch-client/method-helpers/reindex.ts:4