diff --git a/package.json b/package.json index 20e28694..3dcd7b74 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "pbf2json": "^5.0.0", "pelias-blacklist-stream": "^1.0.0", "pelias-config": "^3.3.0", - "pelias-dbclient": "^2.5.6", + "pelias-dbclient": "^2.8.0", "pelias-logger": "^1.2.1", "pelias-model": "^5.7.1", "pelias-wof-admin-lookup": "^5.0.0", diff --git a/stream/importPipeline.js b/stream/importPipeline.js index 09a960a7..a6d0a2f4 100644 --- a/stream/importPipeline.js +++ b/stream/importPipeline.js @@ -26,7 +26,7 @@ streams.import = function(){ .pipe( streams.categoryMapper( categoryDefaults ) ) .pipe( streams.adminLookup() ) .pipe( streams.dbMapper() ) - .pipe( streams.elasticsearch() ); + .pipe( streams.elasticsearch({name: 'openstreetmap'}) ); }; module.exports = streams;