ElasticSearchClientWrapper.bulk()
Home > @backstage/plugin-search-backend-module-elasticsearch
> ElasticSearchClientWrapper
> bulk
Signature:
bulk(bulkOptions: {
datasource: Readable;
onDocument: () => ElasticSearchIndexAction;
refreshOnCompletion?: string | boolean;
}): import("@elastic/elasticsearch/lib/Helpers").BulkHelper<import("@elastic/elasticsearch/lib/Helpers").BulkStats>;
Parameters
Parameter |
Type |
Description |
---|---|---|
bulkOptions |
{ datasource: Readable; onDocument: () => ElasticSearchIndexAction; refreshOnCompletion?: string | boolean; } |
import("@elastic/elasticsearch/lib/Helpers").BulkHelper<import("@elastic/elasticsearch/lib/Helpers").BulkStats>