elasticsearch-store / elasticsearch-client/method-helpers/create
elasticsearch-client/method-helpers/create
Functions
convertCreateParams()
convertCreateParams(
params
,distributionMeta
): {body
:unknown
;id
:string
;index
:string
;refresh
:IndexRefresh
;routing
:string
;timeout
:string
|number
;version
:number
;version_type
:VersionType
;wait_for_active_shards
:WaitForActiveShards
; } | {document
:unknown
;id
:string
;index
:string
;refresh
:IndexRefresh
;routing
:string
;timeout
:string
|number
;version
:number
;version_type
:VersionType
;wait_for_active_shards
:WaitForActiveShards
; } | {body
:unknown
;id
:string
;index
:string
;refresh
:IndexRefresh
;routing
:string
;timeout
:string
|number
;type
:string
;version
:number
;version_type
:VersionType
;wait_for_active_shards
:WaitForActiveShards
; }
Defined in: elasticsearch-store/src/elasticsearch-client/method-helpers/create.ts:3
Parameters
Parameter | Type |
---|---|
params | CreateParams |
distributionMeta | ClientMetadata |
Returns
{ body
: unknown
; id
: string
; index
: string
; refresh
: IndexRefresh
; routing
: string
; timeout
: string
| number
; version
: number
; version_type
: VersionType
; wait_for_active_shards
: WaitForActiveShards
; } | { document
: unknown
; id
: string
; index
: string
; refresh
: IndexRefresh
; routing
: string
; timeout
: string
| number
; version
: number
; version_type
: VersionType
; wait_for_active_shards
: WaitForActiveShards
; } | { body
: unknown
; id
: string
; index
: string
; refresh
: IndexRefresh
; routing
: string
; timeout
: string
| number
; type
: string
; version
: number
; version_type
: VersionType
; wait_for_active_shards
: WaitForActiveShards
; }