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

Scripted fields in Visualize #2124

Merged
merged 14 commits into from
Dec 5, 2014
Merged

Conversation

w33ble
Copy link
Contributor

@w33ble w33ble commented Dec 5, 2014

Add scripted fields to the agg builder. Also handles situations where scripted fields are renamed or removed, via redirectWhenMissing

  • Fields can now be indexed fields or scripted fields
  • Indexed fields are set as params.field as normal, scripted fields are appended as params.script
  • Added matchAny filter, which takes an array of criteria, any of which can match (uses _.some)
    • Used to select indexed or scripted fields

@rashidkpc
Copy link
Contributor

Currently this lets the user set the type to a variety of number formats. We don't actually use those in the app, rather just normalizing to "number" which should be sufficient. By this, I mean the script editor :-)

@rashidkpc
Copy link
Contributor

I filed a couple new tickets on the field editor that @lukasolson is checking out. This, however, looks good.

rashidkpc added a commit that referenced this pull request Dec 5, 2014
@rashidkpc rashidkpc merged commit 919934d into elastic:master Dec 5, 2014
@rashidkpc rashidkpc mentioned this pull request Dec 6, 2014
5 tasks
@w33ble w33ble deleted the scripted-fields branch February 6, 2015 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants