File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
docs/reference/mapping/types Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ The `join` datatype is a special field that creates
55parent/child relation within documents of the same index.
66This field defines a set of possible relations within the documents,
77each relation being a parent name and a child name.
8- A parent/child relation can be defined as follow :
8+ A parent/child relation can be defined as follows :
99
1010[source,js]
1111--------------------------------------------------
@@ -375,7 +375,17 @@ PUT my_index
375375<1> `my_parent` is parent of `my_child` and `another_child`
376376<2> `another_child` is parent of `grand_child
377377
378- Indexing a great child document requires a `routing` value equals
378+ The mapping above represents the following tree:
379+
380+ my_parent
381+ / \
382+ / \
383+ my_child another_child
384+ |
385+ |
386+ grand_child
387+
388+ Indexing a grand child document requires a `routing` value equals
379389to the grand-parent (the greater parent of the lineage):
380390
381391
You can’t perform that action at this time.
0 commit comments