Elasticsearch Store: `Elasticsearch Client Method Helpers Bulk`
Table of contents
Functions
Functions
convertBulkParams
▸ convertBulkParams(params
, distributionMeta
): { _source?
: string
| boolean
| string
[] ; _source_excludes?
: string
| string
[] ; _source_includes?
: string
| string
[] ; body?
: unknown
[] ; index?
: string
; refresh?
: IndexRefresh
; require_alias?
: boolean
; routing?
: string
; timeout?
: string
| number
; wait_for_active_shards?
: WaitForActiveShards
} | { _source?
: string
| boolean
| string
[] ; _source_excludes?
: string
| string
[] ; _source_includes?
: string
| string
[] ; index?
: string
; operations
: undefined
| unknown
[] = body; refresh?
: IndexRefresh
; require_alias?
: boolean
; routing?
: string
; timeout?
: string
| number
; wait_for_active_shards?
: WaitForActiveShards
}
Parameters
Name | Type |
---|---|
params | BulkParams <unknown , unknown > |
distributionMeta | ClientMetadata |
Returns
{ _source?
: string
| boolean
| string
[] ; _source_excludes?
: string
| string
[] ; _source_includes?
: string
| string
[] ; body?
: unknown
[] ; index?
: string
; refresh?
: IndexRefresh
; require_alias?
: boolean
; routing?
: string
; timeout?
: string
| number
; wait_for_active_shards?
: WaitForActiveShards
} | { _source?
: string
| boolean
| string
[] ; _source_excludes?
: string
| string
[] ; _source_includes?
: string
| string
[] ; index?
: string
; operations
: undefined
| unknown
[] = body; refresh?
: IndexRefresh
; require_alias?
: boolean
; routing?
: string
; timeout?
: string
| number
; wait_for_active_shards?
: WaitForActiveShards
}
Defined in
elasticsearch-store/src/elasticsearch-client/method-helpers/bulk.ts:3