Skip to content

Commit 0045b35

Browse files
kkrik-esgeorgewallace
authored andcommitted
Fix minor formatting issue (elastic#114815)
The list with two options doesn't get rendered as a list, due to the snippet in between. https://www.elastic.co/guide/en/elasticsearch/reference/master/passthrough.html#passthrough-conflicts
1 parent b563160 commit 0045b35

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

docs/reference/data-streams/tsds.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ and can dynamically match new fields. However, {es} will reject any mapping
302302
updates that add scripted, runtime, or non-dimension fields that
303303
match the `index.routing_path` value.
304304

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

docs/reference/mapping/types/passthrough.asciidoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ GET my-index-000001/_search
7070

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

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

87-
In this case, references to `id` point to the field at the root level, while field `attributes.id`
88-
can only be accessed using the full path.
89-
90-
1. Two (or more) pass-through objects are defined within the same object and contain fields with the same name, e.g.
91-
90+
b. Two (or more) pass-through objects are defined within the same object and contain fields with the same name, e.g.
91+
+
9292
[source,console]
9393
--------------------------------------------------
9494
PUT my-index-000002
@@ -117,7 +117,7 @@ PUT my-index-000002
117117
}
118118
}
119119
--------------------------------------------------
120-
120+
+
121121
In this case, param `priority` is used for conflict resolution, with the higher values taking precedence. In the
122122
example above, `resource.attributes` has higher priority than `attributes`, so references to `id` point to the field
123123
within `resource.attributes`. `attributes.id` can still be accessed using its full path.

0 commit comments

Comments
 (0)