Skip to content

Commit

Permalink
Add note about changed fields API behaviour for nested (#68813)
Browse files Browse the repository at this point in the history
Add a note about the changes in the `fields` API around the response format for
nested fields.

Relates to #67432
  • Loading branch information
Christoph Büscher authored Feb 11, 2021
1 parent 5c4492e commit aa39799
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/reference/migration/migrate_7_12.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,21 @@ force-merge on these immutable indices will fail if the requested merge is not
a no-op.
====

[discrete]
[[breaking_712_search_changes]]
==== Search changes

[[fields-api-nested-fields]]
.The search APIs `fields` parameter returns fields inside `nested` fields grouped together.
[%collapsible]
====
*Details* +
In earlier versions, fields retrieved via `fields` in the search API were
returned as a flat list. From 7.12 on, fields inside an object that is mapped
using the `nested` field type are grouped together to maintain the independence of
each object inside the original nested array.
====

////
[discrete]
[[deprecated-7.11]]
Expand Down

0 comments on commit aa39799

Please sign in to comment.