Skip to content

Commit

Permalink
[DOCS] Clarify multi-field relationship to parent field (#76244) (#76252
Browse files Browse the repository at this point in the history
)

Closes #71659

Co-authored-by: James Rodewig <[email protected]>
  • Loading branch information
elasticsearchmachine and jrodewig authored Aug 9, 2021
1 parent 958c0be commit 1619266
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/reference/mapping/params/multi-fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@ GET my-index-000001/_search
<2> The `city` field can be used for full text search.
<3> The `city.raw` field can be used for sorting and aggregations

NOTE: Multi-fields do not change the original `_source` field.
You can add multi-fields to an existing field using the
<<indices-put-mapping,update mapping API>>.

TIP: New multi-fields can be added to existing
fields using the <<indices-put-mapping,update mapping API>>.
A multi-field mapping is completely separate from the parent field's mapping. A
multi-field doesn't inherit any mapping options from its parent field.
Multi-fields don't change the original `_source` field.

==== Multi-fields with multiple analyzers

Expand Down

0 comments on commit 1619266

Please sign in to comment.