Skip to content

Commit

Permalink
[DOCS] Clarify multi-field relationship to parent field (elastic#76244)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig authored and elasticsearchmachine committed Aug 9, 2021
1 parent 0b041d6 commit 0d0d2d1
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 0d0d2d1

Please sign in to comment.