Closed abhishek-butola closed 3 years ago
Only difference i could find is in mapping config.
version 7.1
{ "buildings": { "aliases": {}, "mappings": { "properties": { "geometry": { "type": "geo_shape" }, "height": { "type": "long" }, "name": { "type": "text" }, "stories": { "type": "integer" } } }, "settings": { "index": { "routing": { "allocation": { "include": { "_tier_preference": "data_content" } } }, "number_of_shards": "1", "provided_name": "buildings", "creation_date": "1629479814250", "number_of_replicas": "1", "uuid": "Nq2jkkSFQbOfzRWZtfHu-Q", "version": { "created": "7140099" } } } } }
Version 6.5.1 has extra _doc which is deprecated on new 7.x
{ "buildings": { "aliases": {}, "mappings": { "_doc": { "properties": { "geometry": { "type": "geo_shape" }, "height": { "type": "long" }, "name": { "type": "text" }, "stories": { "type": "integer" } } } }, "settings": { "index": { "creation_date": "1629478310030", "number_of_shards": "5", "number_of_replicas": "1", "uuid": "ycsiK_gcRDGt8zZfEjw2mg", "version": { "created": "6050199" }, "provided_name": "buildings" } } } }
Is there any workaround for this?
@abhishek-butola was the solution to just remove the _doc nesting from schema.json? We'd be happy to merge a fix to this (and the README as well) if you found a way for this to work on ES 7.x
_doc
Only difference i could find is in mapping config.
version 7.1
Version 6.5.1 has extra _doc which is deprecated on new 7.x
Is there any workaround for this?