@gesdisc/mongo-stream
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -179,4 +179,6 @@ const elasticsearch = require('elasticsearch'); | ||
this.mappings[collection].type = this.mappings.default.type; | ||
if (this.mappings[collection].type === "$self") | ||
this.mappings[collection].type = collection; | ||
// Removed (Jon C.) to try to support ES dropping _type (https://www.elastic.co/guide/en/elasticsearch/reference/7.17/removal-of-types.html) | ||
//if (this.mappings[collection].type === "$self") | ||
// this.mappings[collection].type = collection; | ||
} | ||
@@ -183,0 +185,0 @@ if (this.mappings[collection].transformations) { |
{ | ||
"name": "@gesdisc/mongo-stream", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Sync data from Mongodb to Elasticsearch", | ||
@@ -5,0 +5,0 @@ "main": "server.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
889365
857