-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Flag scripted fields as searchable and aggregatable #8588
Conversation
LGTM |
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
--------- **Commit 1:** Flag scripted fields as searchable and aggregatable * Original sha: 701ceed * Authored by Matthew Bargar <[email protected]> on 2016-10-07T19:15:59Z
--------- **Commit 1:** Flag scripted fields as searchable and aggregatable * Original sha: 701ceed * Authored by Matthew Bargar <[email protected]> on 2016-10-07T19:15:59Z
[backport] PR #8588 to 5.x - Flag scripted fields as searchable and aggregatable
[backport] PR #8588 to 5.0 - Flag scripted fields as searchable and aggregatable
Does this mean that field_stats is not returning searchable/aggregatable for scripted fields? |
Scripted fields don't exist in elasticsearch indices, they're simulated by Kibana |
Duh. Of course this change only affects the index patterns and in no way touches script fields in ES queries. I was just testing you. ... |
--------- **Commit 1:** Flag scripted fields as searchable and aggregatable * Original sha: fedfe5004392599387b1212734f819be5368d52b [formerly 701ceed] * Authored by Matthew Bargar <[email protected]> on 2016-10-07T19:15:59Z Former-commit-id: e31430b
[backport] PR elastic#8588 to 5.x - Flag scripted fields as searchable and aggregatable Former-commit-id: 99e38a7
Fixes #8585
Scripted fields were being filtered out of the available field list in the viz editor because of the new reliance on the searchable and aggregatable flags #8421
This PR ensures that all scripted fields get flagged as searchable and aggregatable.