Commit 86789ff
committed
Store full path in _ignored when ignoring dynamic array field (elastic#136315)
Currently, when a dynamic array field trips `index.mapping.total_fields.
limit` and is ignored due to `index.mapping.total_fields.
ignore_dynamic_beyond_limit`, the leaf name is stored in _ignored.
This is inconsistent with single-valued fields where the full path is
stored in _ignored.
This PR updates the logic so that in both cases, the full path is stored.1 parent 84a92dc commit 86789ff
File tree
3 files changed
+14
-1
lines changed- docs/changelog
- server/src
- internalClusterTest/java/org/elasticsearch/index/mapper
- main/java/org/elasticsearch/index/mapper
3 files changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
386 | 394 | | |
387 | 395 | | |
388 | 396 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
672 | | - | |
| 672 | + | |
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
| |||
0 commit comments