Commit 6231009
authored
Remove 2.x backward compatibility of mappings. (#21670)
For the record, I also had to remove the geo-hash cell and geo-distance range
queries to make the code compile. These queries already throw an exception in
all cases with 5.x indices, so that does not hurt any more.
I also had to rename all 2.x bwc indices from `index-${version}` to
`unsupported-${version}` to make `OldIndexBackwardCompatibilityIT`
happy.1 parent 235e6ac commit 6231009
File tree
279 files changed
+466
-24538
lines changed- core/src
- main
- java/org
- apache/lucene/queryparser/classic
- elasticsearch
- action
- bulk
- index
- ingest
- update
- cluster/metadata
- common
- geo
- settings
- index
- codec
- engine
- fielddata/plain
- fieldvisitor
- mapper
- query
- functionscore
- search/geo
- shard
- termvectors
- translog
- indices
- ttl
- ingest
- node
- rest/action/document
- search
- fetch/subphase/highlight
- suggest
- completion2x
- context
- completion
- context
- resources
- META-INF/services
- org/elasticsearch/tasks
- test
- java/org/elasticsearch
- action
- admin/indices/template/put
- index
- update
- bwcompat
- cluster/metadata
- codecs
- explain
- gateway
- get
- index
- engine
- fielddata
- mapper
- query
- shard
- translog
- indices
- template
- ingest
- search
- basic
- fetch/subphase/highlight
- fields
- geo
- query
- sort
- suggest
- snapshots
- timestamp
- ttl
- update
- resources
- indices/bwc
- org/elasticsearch/action/admin/indices/template
- docs/reference/migration/migrate_6_0
- modules
- ingest-common/src/test/java/org/elasticsearch/ingest/common
- lang-expression/src/main/java/org/elasticsearch/script/expression
- percolator/src/test
- java/org/elasticsearch/percolator
- resources/indices/percolator
- reindex/src
- main/java/org/elasticsearch/index/reindex
- remote
- test
- java/org/elasticsearch/index/reindex
- remote
- resources/rest-api-spec/test/reindex
- transport-netty4/src/test/java/org/elasticsearch/http/netty4
- plugins
- mapper-murmur3/src/test
- java/org/elasticsearch/index/mapper/murmur3
- resources/indices/bwc
- mapper-size/src
- main/java/org/elasticsearch/index/mapper/size
- test
- java/org/elasticsearch/index/mapper/size
- resources/indices/bwc
- qa/smoke-test-ingest-with-all-dependencies/src/test/java/org/elasticsearch/ingest
- test/framework/src/main/java/org/elasticsearch
- ingest
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
279 files changed
+466
-24538
lines changedLines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
336 | 335 | | |
337 | 336 | | |
338 | 337 | | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
| 338 | + | |
344 | 339 | | |
345 | 340 | | |
346 | 341 | | |
| |||
Lines changed: 3 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
309 | | - | |
310 | 308 | | |
311 | 309 | | |
312 | 310 | | |
| |||
336 | 334 | | |
337 | 335 | | |
338 | 336 | | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | 337 | | |
348 | 338 | | |
349 | 339 | | |
| |||
394 | 384 | | |
395 | 385 | | |
396 | 386 | | |
397 | | - | |
| 387 | + | |
398 | 388 | | |
399 | 389 | | |
400 | | - | |
| 390 | + | |
401 | 391 | | |
402 | 392 | | |
403 | 393 | | |
404 | 394 | | |
405 | | - | |
| 395 | + | |
406 | 396 | | |
407 | 397 | | |
408 | 398 | | |
| |||
420 | 410 | | |
421 | 411 | | |
422 | 412 | | |
423 | | - | |
424 | | - | |
425 | 413 | | |
426 | 414 | | |
427 | 415 | | |
428 | 416 | | |
429 | 417 | | |
430 | | - | |
431 | | - | |
432 | 418 | | |
433 | 419 | | |
434 | 420 | | |
| |||
Lines changed: 9 additions & 88 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 77 | | |
83 | 78 | | |
84 | 79 | | |
| |||
164 | 159 | | |
165 | 160 | | |
166 | 161 | | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | 162 | | |
174 | 163 | | |
175 | 164 | | |
| |||
265 | 254 | | |
266 | 255 | | |
267 | 256 | | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | 257 | | |
312 | 258 | | |
313 | 259 | | |
| |||
537 | 483 | | |
538 | 484 | | |
539 | 485 | | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | 486 | | |
546 | 487 | | |
547 | 488 | | |
| |||
563 | 504 | | |
564 | 505 | | |
565 | 506 | | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | 507 | | |
591 | 508 | | |
592 | 509 | | |
| |||
601 | 518 | | |
602 | 519 | | |
603 | 520 | | |
604 | | - | |
605 | | - | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
606 | 525 | | |
607 | 526 | | |
608 | 527 | | |
| |||
619 | 538 | | |
620 | 539 | | |
621 | 540 | | |
622 | | - | |
623 | | - | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
624 | 545 | | |
625 | 546 | | |
626 | 547 | | |
| |||
Lines changed: 0 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
231 | 230 | | |
232 | 231 | | |
233 | 232 | | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | 233 | | |
267 | 234 | | |
268 | 235 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | 159 | | |
162 | 160 | | |
163 | 161 | | |
| |||
0 commit comments