Skip to content
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

Merged
merged 1 commit into from
Oct 7, 2016

Conversation

Bargs
Copy link
Contributor

@Bargs Bargs commented Oct 7, 2016

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.

@kobelb
Copy link
Contributor

kobelb commented Oct 7, 2016

LGTM

Copy link
Contributor

@spalger spalger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Bargs Bargs merged commit 19c3b3f into elastic:master Oct 7, 2016
elastic-jasper added a commit that referenced this pull request Oct 7, 2016
---------

**Commit 1:**
Flag scripted fields as searchable and aggregatable

* Original sha: 701ceed
* Authored by Matthew Bargar <[email protected]> on 2016-10-07T19:15:59Z
elastic-jasper added a commit that referenced this pull request Oct 7, 2016
---------

**Commit 1:**
Flag scripted fields as searchable and aggregatable

* Original sha: 701ceed
* Authored by Matthew Bargar <[email protected]> on 2016-10-07T19:15:59Z
epixa added a commit that referenced this pull request Oct 7, 2016
[backport] PR #8588 to 5.x - Flag scripted fields as searchable and aggregatable
epixa added a commit that referenced this pull request Oct 7, 2016
[backport] PR #8588 to 5.0 - Flag scripted fields as searchable and aggregatable
@epixa
Copy link
Contributor

epixa commented Oct 7, 2016

Does this mean that field_stats is not returning searchable/aggregatable for scripted fields?

@spalger
Copy link
Contributor

spalger commented Oct 7, 2016

Scripted fields don't exist in elasticsearch indices, they're simulated by Kibana

@epixa
Copy link
Contributor

epixa commented Oct 7, 2016

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.

...

@epixa epixa added v5.1.1 and removed v5.1.0 labels Dec 8, 2016
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
---------

**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
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
[backport] PR elastic#8588 to 5.x - Flag scripted fields as searchable and aggregatable

Former-commit-id: 99e38a7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants