Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

Commit 82e33dd

Browse files
committed
cleaning
1 parent 6c0e500 commit 82e33dd

7 files changed

Lines changed: 359 additions & 1320 deletions

File tree

lib.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
const _ = require('lodash');
2-
const Promise = require('bluebird');
3-
//const isStream = require('is-stream');
4-
5-
const elasticsearch = require('./src/elasticitems');
62
const elasticsearch7x = require('./src/elasticitems7x');
73
const itemsapi = require('./src/itemsapi');
84

@@ -17,7 +13,5 @@ module.exports.import = function(data, options, schema) {
1713
return itemsapi.import(data, options, schema);
1814
} else if (options.engine === 'elasticsearch7x') {
1915
return elasticsearch7x.import(data, options, schema);
20-
} else {
21-
return elasticsearch.import(data, options, schema);
2216
}
2317
}

0 commit comments

Comments
 (0)