Skip to content

Commit 67fe3dc

Browse files
committed
Mappings: Deprecate extracting _id and _routing from document
See #6730
1 parent 0554f4c commit 67fe3dc

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/reference/mapping/fields/id-field.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ using the appropriate mapping attributes:
2525
}
2626
--------------------------------------------------
2727

28+
==== path
29+
deprecated[v1.5.0]
30+
2831
The `_id` mapping can also be associated with a `path` that will be used
2932
to extract the id from a different location in the source document. For
3033
example, having the following mapping:

docs/reference/mapping/fields/routing-field.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ is required.
2626

2727
[float]
2828
==== path
29+
deprecated[v1.5.0]
2930

3031
The routing value can be provided as an external value when indexing
3132
(and still stored as part of the document, in much the same way

0 commit comments

Comments
 (0)