Source
1
1
# uint mapping
2
2
3
3
{
4
-
"settings" : {
5
-
"index" : {
6
-
"number_of_replicas" : 1,
7
-
"number_of_shards" : 5
4
+
"settings": {
5
+
"index": {
6
+
"number_of_replicas": 1,
7
+
"number_of_shards": 5
8
8
}
9
9
},
10
-
"mappings" : {
11
-
"values" : {
12
-
"properties" : {
13
-
"itemid" : {
14
-
"type" : "long"
15
-
},
16
-
"clock" : {
17
-
"format" : "epoch_second",
18
-
"type" : "date"
19
-
},
20
-
"value" : {
21
-
"type" : "long"
22
-
}
10
+
"mappings": {
11
+
"properties": {
12
+
"itemid": {
13
+
"type": "long"
14
+
},
15
+
"clock": {
16
+
"format": "epoch_second",
17
+
"type": "date"
18
+
},
19
+
"value": {
20
+
"type": "long"
23
21
}
24
22
}
25
23
}
26
24
}
27
25
28
26
29
27
# dbl mapping
30
28
31
29
{
32
-
"settings" : {
33
-
"index" : {
34
-
"number_of_replicas" : 1,
35
-
"number_of_shards" : 5
30
+
"settings": {
31
+
"index": {
32
+
"number_of_replicas": 1,
33
+
"number_of_shards": 5
36
34
}
37
35
},
38
-
"mappings" : {
39
-
"values" : {
40
-
"properties" : {
41
-
"itemid" : {
42
-
"type" : "long"
43
-
},
44
-
"clock" : {
45
-
"format" : "epoch_second",
46
-
"type" : "date"
47
-
},
48
-
"value" : {
49
-
"type" : "double"
50
-
}
36
+
"mappings": {
37
+
"properties": {
38
+
"itemid": {
39
+
"type": "long"
40
+
},
41
+
"clock": {
42
+
"format": "epoch_second",
43
+
"type": "date"
44
+
},
45
+
"value": {
46
+
"type": "double"
51
47
}
52
48
}
53
49
}
54
50
}
55
51
56
52
57
53
# str mapping
58
54
59
55
{
60
-
"settings" : {
61
-
"index" : {
62
-
"number_of_replicas" : 1,
63
-
"number_of_shards" : 5
56
+
"settings": {
57
+
"index": {
58
+
"number_of_replicas": 1,
59
+
"number_of_shards": 5
64
60
}
65
61
},
66
-
"mappings" : {
67
-
"values" : {
68
-
"properties" : {
69
-
"itemid" : {
70
-
"type" : "long"
62
+
"mappings": {
63
+
"properties": {
64
+
"itemid": {
65
+
"type": "long"
66
+
},
67
+
"clock": {
68
+
"format": "epoch_second",
69
+
"type": "date"
70
+
},
71
+
"value": {
72
+
"fields": {
73
+
"analyzed": {
74
+
"index": true,
75
+
"type": "text",
76
+
"analyzer": "standard"
77
+
}
71
78
},
72
-
"clock" : {
73
-
"format" : "epoch_second",
74
-
"type" : "date"
75
-
},
76
-
"value" : {
77
-
"fields" : {
78
-
"analyzed" : {
79
-
"index" : true,
80
-
"type" : "text",
81
-
"analyzer" : "standard"
82
-
}
83
-
},
84
-
"index" : false,
85
-
"type" : "text"
86
-
}
79
+
"index": false,
80
+
"type": "text"
87
81
}
88
82
}
89
83
}
90
84
}
91
85
92
86
93
87
# text mapping
94
88
95
89
{
96
90
"settings" : {
97
91
"index" : {
98
92
"number_of_replicas" : 1,
99
93
"number_of_shards" : 5
100
94
}
101
95
},
102
96
"mappings" : {
103
-
"values" : {
104
97
"properties" : {
105
98
"itemid" : {
106
99
"type" : "long"
107
100
},
108
101
"clock" : {
109
102
"format" : "epoch_second",
110
103
"type" : "date"
111
104
},
112
105
"value" : {
113
106
"fields" : {
114
107
"analyzed" : {
115
108
"index" : true,
116
109
"type" : "text",
117
110
"analyzer" : "standard"
118
111
}
119
112
},
120
113
"index" : false,
121
114
"type" : "text"
122
115
}
123
116
}
124
-
}
125
117
}
126
118
}
127
119
128
120
129
121
# log mapping
130
122
131
123
{
132
-
"settings" : {
133
-
"index" : {
134
-
"number_of_replicas" : 1,
135
-
"number_of_shards" : 5
124
+
"settings": {
125
+
"index": {
126
+
"number_of_replicas": 1,
127
+
"number_of_shards": 5
136
128
}
137
129
},
138
-
"mappings" : {
139
-
"values" : {
140
-
"properties" : {
141
-
"itemid" : {
142
-
"type" : "long"
143
-
},
144
-
"clock" : {
145
-
"format" : "epoch_second",
146
-
"type" : "date"
130
+
"mappings": {
131
+
"properties": {
132
+
"itemid": {
133
+
"type": "long"
134
+
},
135
+
"clock": {
136
+
"format": "epoch_second",
137
+
"type": "date"
138
+
},
139
+
"value": {
140
+
"fields": {
141
+
"analyzed": {
142
+
"index": true,
143
+
"type": "text",
144
+
"analyzer": "standard"
145
+
}
147
146
},
148
-
"value" : {
149
-
"fields" : {
150
-
"analyzed" : {
151
-
"index" : true,
152
-
"type" : "text",
153
-
"analyzer" : "standard"
154
-
}
155
-
},
156
-
"index" : false,
157
-
"type" : "text"
158
-
}
147
+
"index": false,
148
+
"type": "text"
159
149
}
160
150
}
161
151
}
162
152
}
163
153
164
154