es-bulk-update-builder:Elasticsearch的批量更新请求主体构建器

时间:2021-05-13 23:32:38
【文件属性】:
文件名称:es-bulk-update-builder:Elasticsearch的批量更新请求主体构建器
文件大小:21KB
文件格式:ZIP
更新时间:2021-05-13 23:32:38
JavaScript es-bulk-update-builder Elasticsearch的批量更新请求主体构建器 安装 $ npm install --save es-bulk-update-builder 用法 用法基本上如下: const BulkUpdateBuilder = require ( 'es-bulk-update-builder' ) ; const body = new BulkUpdateBuilder ( ) . index ( { name : 'my-doc' } , 'some-index' , 'some-type' , 'some-id' , 3 ) . update ( { name : 'other-doc' } , 'other-index' , 'other-type' , 'other-id' , 4 ) . delete ( 'a
【文件预览】:
es-bulk-update-builder-master
----.eslintrc(344B)
----index.js(1KB)
----package.json(1KB)
----test()
--------es-bulk-update-builder.tests.js(7KB)
----LICENSE(1KB)
----package-lock.json(65KB)
----.gitignore(616B)
----README.md(2KB)
----.eslintignore(32B)

网友评论