@terascope/opensearch-client / client/method-helpers/bulk
client/method-helpers/bulk
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[];refresh?:IndexRefresh;require_alias?:boolean;routing?:string;timeout?:string|number;wait_for_active_shards?:WaitForActiveShards; }
Defined in: opensearch-client/src/client/method-helpers/bulk.ts:3
Parameters
| Parameter | Type |
|---|---|
params | BulkParams |
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[]; refresh?: IndexRefresh; require_alias?: boolean; routing?: string; timeout?: string | number; wait_for_active_shards?: WaitForActiveShards; }