-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOCS] Document include_in_*
nested mapping parms
#52648
Conversation
Adds documentation for the `include_in_parent` and `include_in_root` mapping parameters for the `nested` mapping datatype.
Pinging @elastic/es-docs (>docs) |
Pinging @elastic/es-search (:Search/Mapping) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing this!
|
||
`include_in_parent`:: | ||
(Optional, boolean) | ||
If `true`, inner objects are indexed as <<object,flat key-value pairs>> for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To me, this description could be hard to understand. An alternate suggestion: "If true
, all fields in the nested object are also added to the parent document as standard (flat) fields." A similar suggestion applies to include_in_root
below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the feedback @jtibshirani. I've reworded as suggested with 817c0ff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
|
||
`include_in_root`:: | ||
(Optional, boolean) | ||
If `true`, all fields in the nested object are also added to the topmost |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small comment, maybe 'root document' would be a little clearer.
Thanks @jtibshirani. |
Adds documentation for the `include_in_parent` and `include_in_root` mapping parameters for the `nested` mapping datatype.
Adds documentation for the `include_in_parent` and `include_in_root` mapping parameters for the `nested` mapping datatype.
Adds documentation for the
include_in_parent
andinclude_in_root
mapping parameters for the
nested
mapping datatype.Closes #52309.