[ScenarioManager] use new multi-field syntax
This commit is contained in:
parent
7aee4a552f
commit
410029d271
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue