@@ -53,6 +53,7 @@ curl "http://${ES_5_HOST}:9200/test1/doc/1" -H "Content-Type:application/json" -
53
53
curl " http://${ES_5_HOST} :9200/test1/doc/2" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data2_es6.json'
54
54
# only difference between es5 and es6
55
55
curl " http://${ES_5_HOST} :9200/test1/doc/3" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data3_es5.json'
56
+ curl " http://${ES_5_HOST} :9200/test1/doc/4" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data4_es6.json'
56
57
# put data for test2_20220808
57
58
curl " http://${ES_5_HOST} :9200/test2_20220808/doc/1" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data1_es6.json'
58
59
curl " http://${ES_5_HOST} :9200/test2_20220808/doc/2" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data2_es6.json'
@@ -88,6 +89,7 @@ curl "http://${ES_6_HOST}:9200/test2_20220809" -H "Content-Type:application/json
88
89
curl " http://${ES_6_HOST} :9200/test1/doc/1" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data1_es6.json'
89
90
curl " http://${ES_6_HOST} :9200/test1/doc/2" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data2_es6.json'
90
91
curl " http://${ES_6_HOST} :9200/test1/doc/3" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data3_es6.json'
92
+ curl " http://${ES_6_HOST} :9200/test1/doc/4" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data4_es6.json'
91
93
# put data for test2_20220808
92
94
curl " http://${ES_6_HOST} :9200/test2_20220808/doc/1" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data1_es6.json'
93
95
curl " http://${ES_6_HOST} :9200/test2_20220808/doc/2" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data2_es6.json'
@@ -125,6 +127,7 @@ curl "http://${ES_7_HOST}:9200/test1/_doc/1" -H "Content-Type:application/json"
125
127
curl " http://${ES_7_HOST} :9200/test1/_doc/2" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data2.json'
126
128
curl " http://${ES_7_HOST} :9200/test1/_doc/3" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data3.json'
127
129
curl " http://${ES_7_HOST} :9200/test1/_doc/4" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data4.json'
130
+ curl " http://${ES_7_HOST} :9200/test1/_doc/5" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data5.json'
128
131
# put data for test2_20220808
129
132
curl " http://${ES_7_HOST} :9200/test2_20220808/_doc/1" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data1.json'
130
133
curl " http://${ES_7_HOST} :9200/test2_20220808/_doc/2" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data2.json'
@@ -136,7 +139,7 @@ curl "http://${ES_7_HOST}:9200/test2_20220809/_doc/2" -H "Content-Type:applicati
136
139
curl " http://${ES_7_HOST} :9200/test2_20220809/_doc/3" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data3.json'
137
140
curl " http://${ES_7_HOST} :9200/test2_20220809/_doc/4" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data4.json'
138
141
# put data for test3_20231005
139
- curl " http://${ES_7_HOST} :9200/test3_20231005/_doc/1" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data5 .json'
142
+ curl " http://${ES_7_HOST} :9200/test3_20231005/_doc/1" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data6 .json'
140
143
141
144
# put _meta for array
142
145
curl " http://${ES_7_HOST} :9200/test1/_mapping" -H " Content-Type:application/json" -X PUT -d " @/mnt/scripts/index/array_meta.json"
@@ -170,6 +173,7 @@ curl "http://${ES_8_HOST}:9200/test1/_doc/1" -H "Content-Type:application/json"
170
173
curl " http://${ES_8_HOST} :9200/test1/_doc/2" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data2.json'
171
174
curl " http://${ES_8_HOST} :9200/test1/_doc/3" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data3.json'
172
175
curl " http://${ES_8_HOST} :9200/test1/_doc/4" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data4.json'
176
+ curl " http://${ES_8_HOST} :9200/test1/_doc/5" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data5.json'
173
177
# put data for test2_20220808
174
178
curl " http://${ES_8_HOST} :9200/test2_20220808/_doc/1" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data1.json'
175
179
curl " http://${ES_8_HOST} :9200/test2_20220808/_doc/2" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data2.json'
@@ -181,7 +185,7 @@ curl "http://${ES_8_HOST}:9200/test2_20220809/_doc/2" -H "Content-Type:applicati
181
185
curl " http://${ES_8_HOST} :9200/test2_20220809/_doc/3" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data3.json'
182
186
curl " http://${ES_8_HOST} :9200/test2_20220809/_doc/4" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data4.json'
183
187
# put data for test3_20231005
184
- curl " http://${ES_8_HOST} :9200/test3_20231005/_doc/1" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data5 .json'
188
+ curl " http://${ES_8_HOST} :9200/test3_20231005/_doc/1" -H " Content-Type:application/json" -X POST -d ' @/mnt/scripts/data/data6 .json'
185
189
186
190
# put _meta for array
187
191
curl " http://${ES_8_HOST} :9200/test1/_mapping" -H " Content-Type:application/json" -X PUT -d " @/mnt/scripts/index/array_meta.json"
0 commit comments