@liqiqiang/db-to-es
Sync Mongo Data to ES
Last updated 2 years ago by liqiqiang .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @liqiqiang/db-to-es 
SYNC missed versions from official npm registry.

Sync Mongo Data to ES

Sync Mongo(Mongoose) data to ES user bulk api.

Install

npm i @liqiqiang/db-to-es --save

Usage

const ToEs = require('@liqiqiang/db-to-es');
const cursor = Movie.find({}).cursor();

await new ToEs(cursor, 'es_index_name', 'es_type').start();

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

1 Versions

  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 2
Last Day 1
Last Week 1
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |