File tree 2 files changed +18
-34
lines changed
2 files changed +18
-34
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,10 @@ module.exports = {
19
19
'dynamic_templates' : [ {
20
20
'string_fields' : {
21
21
'mapping' : {
22
- 'type' : 'string' ,
23
- 'index' : 'analyzed' ,
22
+ 'type' : 'text' ,
24
23
'fields' : {
25
24
'raw' : {
26
- 'index' : 'not_analyzed' ,
27
- 'type' : 'string' ,
28
- 'doc_values' : true
25
+ 'type' : 'keyword' ,
29
26
}
30
27
}
31
28
} ,
@@ -52,22 +49,18 @@ module.exports = {
52
49
'type' : 'double'
53
50
} ,
54
51
'referer' : {
55
- 'type' : 'string' ,
56
- 'index' : 'not_analyzed'
52
+ 'type' : 'keyword'
57
53
} ,
58
54
'geo' : {
59
55
'properties' : {
60
56
'srcdest' : {
61
- 'type' : 'string' ,
62
- 'index' : 'not_analyzed'
57
+ type : "keyword"
63
58
} ,
64
59
'dest' : {
65
- 'type' : 'string' ,
66
- 'index' : 'not_analyzed'
60
+ type : "keyword"
67
61
} ,
68
62
'src' : {
69
- 'type' : 'string' ,
70
- 'index' : 'not_analyzed'
63
+ type : "keyword"
71
64
} ,
72
65
'coordinates' : {
73
66
'type' : 'geo_point'
@@ -77,16 +70,15 @@ module.exports = {
77
70
'meta' : {
78
71
'properties' : {
79
72
'related' : {
80
- 'type' : 'string '
73
+ 'type' : 'text '
81
74
} ,
82
75
'char' : {
83
- 'type' : 'string' ,
84
- 'index' : 'not_analyzed'
76
+ type : "keyword"
85
77
} ,
86
78
'user' : {
87
79
'properties' : {
88
80
'firstname' : {
89
- 'type' : 'string '
81
+ 'type' : 'text '
90
82
} ,
91
83
'lastname' : {
92
84
'type' : 'integer' ,
Original file line number Diff line number Diff line change @@ -19,13 +19,10 @@ module.exports = {
19
19
'dynamic_templates' : [ {
20
20
'string_fields' : {
21
21
'mapping' : {
22
- 'type' : 'string' ,
23
- 'index' : 'analyzed' ,
22
+ 'type' : 'text' ,
24
23
'fields' : {
25
24
'raw' : {
26
- 'index' : 'not_analyzed' ,
27
- 'type' : 'string' ,
28
- 'doc_values' : true
25
+ 'type' : 'keyword' ,
29
26
}
30
27
}
31
28
} ,
@@ -52,22 +49,18 @@ module.exports = {
52
49
'type' : 'double'
53
50
} ,
54
51
'referer' : {
55
- 'type' : 'string' ,
56
- 'index' : 'not_analyzed'
52
+ 'type' : 'keyword'
57
53
} ,
58
54
'geo' : {
59
55
'properties' : {
60
56
'srcdest' : {
61
- 'type' : 'string' ,
62
- 'index' : 'not_analyzed'
57
+ type : "keyword"
63
58
} ,
64
59
'dest' : {
65
- 'type' : 'string' ,
66
- 'index' : 'not_analyzed'
60
+ type : "keyword"
67
61
} ,
68
62
'src' : {
69
- 'type' : 'string' ,
70
- 'index' : 'not_analyzed'
63
+ type : "keyword"
71
64
} ,
72
65
'coordinates' : {
73
66
'type' : 'geo_point'
@@ -77,16 +70,15 @@ module.exports = {
77
70
'meta' : {
78
71
'properties' : {
79
72
'related' : {
80
- 'type' : 'string '
73
+ 'type' : 'text '
81
74
} ,
82
75
'char' : {
83
- 'type' : 'string' ,
84
- 'index' : 'not_analyzed'
76
+ type : "keyword"
85
77
} ,
86
78
'user' : {
87
79
'properties' : {
88
80
'firstname' : {
89
- 'type' : 'string '
81
+ 'type' : 'text '
90
82
} ,
91
83
'lastname' : {
92
84
'type' : 'integer' ,
You can’t perform that action at this time.
0 commit comments