@terascope/opensearch-client / client/method-helpers/bulk
client/method-helpers/bulk
Functions
convertBulkParams()
convertBulkParams(
params,distributionMeta):BulkParams<unknown,unknown> | {_source?:string|boolean|string[];_source_excludes?:string|string[];_source_includes?:string|string[];index?:string;operations:unknown[] |undefined;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
BulkParams<unknown, unknown> | { _source?: string | boolean | string[]; _source_excludes?: string | string[]; _source_includes?: string | string[]; index?: string; operations: unknown[] | undefined; refresh?: IndexRefresh; require_alias?: boolean; routing?: string; timeout?: string | number; wait_for_active_shards?: WaitForActiveShards; }