Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
363143f
Guard second doc parsing pass with index setting
kkrik-es Oct 11, 2024
aba471e
add test
kkrik-es Oct 11, 2024
eeea953
updates
kkrik-es Oct 11, 2024
c55f8c9
updates
kkrik-es Oct 11, 2024
f5c4501
Merge branch 'main' into synthetic-source/second-pass-flag
kkrik-es Oct 14, 2024
a0e09c6
merge
kkrik-es Oct 14, 2024
8fbddca
Add documentation for passthrough field type
kkrik-es Oct 14, 2024
89bcc42
Merge branch 'main' into synthetic-source/second-pass-flag
kkrik-es Oct 14, 2024
0f67b34
Merge branch 'elastic:main' into synthetic-source/second-pass-flag
kkrik-es Oct 14, 2024
c46f72f
Apply suggestions from code review
kkrik-es Oct 14, 2024
ee26d09
Merge branch 'main' into synthetic-source/second-pass-flag
kkrik-es Oct 14, 2024
4a5542e
updates
kkrik-es Oct 14, 2024
8f795d4
updates
kkrik-es Oct 14, 2024
db939e0
Merge branch 'elastic:main' into synthetic-source/second-pass-flag
kkrik-es Oct 15, 2024
442d3f1
Update docs/reference/mapping/types/passthrough.asciidoc
kkrik-es Oct 15, 2024
dead0e1
address comment
kkrik-es Oct 15, 2024
b0d97d4
address comment
kkrik-es Oct 15, 2024
db68fef
Update docs/reference/mapping/types/passthrough.asciidoc
kkrik-es Oct 15, 2024
9da1ae0
address comment
kkrik-es Oct 15, 2024
7a9f362
Merge branch 'main' into synthetic-source/second-pass-flag
kkrik-es Oct 15, 2024
6fb5d26
Fix minor formatting issue
kkrik-es Oct 15, 2024
3485864
update
kkrik-es Oct 15, 2024
4bb4439
update
kkrik-es Oct 15, 2024
bf84478
update
kkrik-es Oct 15, 2024
8f9785a
update
kkrik-es Oct 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference/data-streams/tsds.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ and can dynamically match new fields. However, {es} will reject any mapping
updates that add scripted, runtime, or non-dimension fields that
match the `index.routing_path` value.

<<passthrough-dimensions, pass-through>> fields may be configured
<<passthrough-dimensions, Pass-through>> fields may be configured
as dimension containers. In this case, their sub-fields get included to the
routing path automatically.

Expand Down
18 changes: 9 additions & 9 deletions docs/reference/mapping/types/passthrough.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ GET my-index-000001/_search

It's possible for conflicting names to arise, for fields that are defined within different scopes:

1. A pass-through object is defined next to a field that has the same name as one of the pass-through object
sub-fields, e.g.

a. A pass-through object is defined next to a field that has the same name as one of the pass-through object
sub-fields, e.g.
+
[source,console]
--------------------------------------------------
PUT my-index-000001/_doc/1
Expand All @@ -83,12 +83,12 @@ PUT my-index-000001/_doc/1
"id": "bar"
}
--------------------------------------------------
+
In this case, references to `id` point to the field at the root level, while field `attributes.id`
can only be accessed using the full path.

In this case, references to `id` point to the field at the root level, while field `attributes.id`
can only be accessed using the full path.

1. Two (or more) pass-through objects are defined within the same object and contain fields with the same name, e.g.

b. Two (or more) pass-through objects are defined within the same object and contain fields with the same name, e.g.
+
[source,console]
--------------------------------------------------
PUT my-index-000002
Expand Down Expand Up @@ -117,7 +117,7 @@ PUT my-index-000002
}
}
--------------------------------------------------

+
In this case, param `priority` is used for conflict resolution, with the higher values taking precedence. In the
example above, `resource.attributes` has higher priority than `attributes`, so references to `id` point to the field
within `resource.attributes`. `attributes.id` can still be accessed using its full path.
Expand Down