@gesdisc/mongo-stream
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -180,5 +180,4 @@ const elasticsearch = require('elasticsearch'); | ||
// 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; | ||
if (this.mappings[collection].type === "$self") | ||
this.mappings[collection].type = '_doc' //collection; --- Changed in an attempt to temporarily fix this deprecation https://www.elastic.co/guide/en/elasticsearch/reference/7.17/removal-of-types.html | ||
} | ||
@@ -185,0 +184,0 @@ if (this.mappings[collection].transformations) { |
{ | ||
"name": "@gesdisc/mongo-stream", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"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
889370
856