-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Clarify ignore_above behavior with arrays of strings #33057
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
Clarify ignore_above behavior with arrays of strings #33057
Conversation
and also note that all string(s) will still be visible in the `_source` field.
Pinging @elastic/es-search-aggs |
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.
LGTM, I left a minor comment but I don't feel strongly about it so happy for this to be merged with or without my suggestion applied
@@ -2,6 +2,9 @@ | |||
=== `ignore_above` | |||
|
|||
Strings longer than the `ignore_above` setting will not be indexed or stored. | |||
For arrays of strings, `ignore_above` will be applied for each array element and string elements longer than `ignore_above` will not be indexed or stored. |
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.
minor: maybe ...each array element separately and...
would be clearer here?
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.
Will fix, thanks!
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.
Fixed in eac5614 as per your suggestion, I think it looks clearer now WDYT?
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.
LGTM
Thanks a lot @colings86 for the blazingly fast review ; thoughts about how far back to go for the backport after CI is green? |
I think just back to 6.3 is fine, since these are the active versions |
Currently docs don't explain how `ignore_above` behaves with arrays of strings. Clarify how `ignore_above` applies for arrays of strings and also note that all string(s) will still be visible in the `_source` field. Relates #33057
Currently docs don't explain how `ignore_above` behaves with arrays of strings. Clarify how `ignore_above` applies for arrays of strings and also note that all string(s) will still be visible in the `_source` field. Relates #33057
Currently docs don't explain how `ignore_above` behaves with arrays of strings. Clarify how `ignore_above` applies for arrays of strings and also note that all string(s) will still be visible in the `_source` field. Relates #33057
and also note that all string(s) will still be visible in the
_source
field.