Skip to content

Commit

Permalink
Add note about changed fields API behaviour for nested
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 elastic#67432
  • Loading branch information
Christoph Büscher committed Feb 10, 2021
1 parent fd85528 commit 4bdc1be
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 4bdc1be

Please sign in to comment.