[ScenarioManager] use new multi-field syntax

This commit is contained in:
spalger 2016-02-05 10:27:39 -07:00
parent 7aee4a552f
commit 410029d271
2 changed files with 6 additions and 12 deletions

View file

@ -19,14 +19,11 @@ module.exports = {
'dynamic_templates': [{
'string_fields': {
'mapping': {
'type': 'multi_field',
'type': 'string',
'index': 'analyzed',
'omit_norms': true,
'doc_values': true,
'fields': {
'{name}': {
'index': 'analyzed',
'omit_norms': true,
'type': 'string'
},
'raw': {
'index': 'not_analyzed',
'type': 'string',

View file

@ -19,14 +19,11 @@ module.exports = {
'dynamic_templates': [{
'string_fields': {
'mapping': {
'type': 'multi_field',
'type': 'string'
'index': 'analyzed',
'doc_values': true,
'omit_norms': true,
'fields': {
'{name}': {
'index': 'analyzed',
'omit_norms': true,
'type': 'string'
},
'raw': {
'index': 'not_analyzed',
'type': 'string',