[ https://issues.apache.org/jira/browse/USERGRID-611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeffrey resolved USERGRID-611. ------------------------------- Resolution: Fixed > Update Default Dynamic Templates in ES > --------------------------------------- > > Key: USERGRID-611 > URL: https://issues.apache.org/jira/browse/USERGRID-611 > Project: Usergrid > Issue Type: Story > Components: Stack > Reporter: Jeffrey > Fix For: 2.0.1 > > > Disable norms and _all for all default templates in 2.0, ensure merged to > 2.0-dev. > Sample: > "entity_id_template": { > "match_mapping_type": "string", > "mapping": { > "_all": { > "enabled": false > }, > "index": "not_analyzed", > "type": "string", > "norms": { > "enabled": false > } > }, > Sample _default_: > { > "_default_": { > "_all": { > "enabled": false > }, > "_routing": { > "path": "ug_entityId", > "required": true > }, > "properties": {}, > "dynamic_templates": [ > { > "entity_id_template": { > "match_mapping_type": "string", > "mapping": { > "_all": { > "enabled": false > }, > "index": "not_analyzed", > "type": "string", > "norms": { > "enabled": false > } > }, > "match": "ug_entityId" > } > }, > { > "entity_context_template": { > "match_mapping_type": "string", > "mapping": { > "_all": { > "enabled": false > }, > "index": "not_analyzed", > "type": "string", > "norms": { > "enabled": false > } > }, > "match": "ug_context" > } > }, > { > "entity_version_template": { > "match_mapping_type": "string", > "mapping": { > "_all": { > "enabled": false > }, > "norms": { > "enabled": false > }, > "type": "long" > }, > "match": "ug_entityVersion" > } > }, > { > "template_1": { > "match_mapping_type": "string", > "mapping": { > "_all": { > "enabled": false > }, > "index": "not_analyzed", > "type": "string", > "norms": { > "enabled": false > } > }, > "match": "sa_*" > } > }, > { > "template_2": { > "match_mapping_type": "string", > "mapping": { > "_all": { > "enabled": false > }, > "index": "not_analyzed", > "type": "string", > "norms": { > "enabled": false > } > }, > "match": "*" > } > }, > { > "template_3": { > "mapping": { > "_all": { > "enabled": false > }, > "type": "geo_point" > }, > "match": "go_location" > } > } > ] > } > } -- This message was sent by Atlassian JIRA (v6.3.4#6332)