Commit 5240ab8
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 7a2dc32 commit 5240ab8
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 | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
377 | 385 | | |
378 | 386 | | |
379 | 387 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
662 | | - | |
| 662 | + | |
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
| |||
0 commit comments