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

[data.query.filters] Create expression function for filters & add toAst method #67896

Closed
7 tasks done
lukeelmers opened this issue Jun 1, 2020 · 1 comment · Fixed by #94069
Closed
7 tasks done

[data.query.filters] Create expression function for filters & add toAst method #67896

lukeelmers opened this issue Jun 1, 2020 · 1 comment · Fixed by #94069
Labels
Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline)

Comments

@lukeelmers
Copy link
Member

lukeelmers commented Jun 1, 2020

Part of #61769
Blocks #65988

  • create field expression function that takes name, type and script and returns kibana_field type
  • create phraseFilter expression function that takes value (multi field, to support phrases filter as well) and field (of kibana_field type) parameters and returns kibana_filter
  • create range function that takes lt, gt, lte, gte paramteres and returns kibana_range
  • create rangeFilter expression function, that takes field and range (kibana_range type) and returns kibana_filter
  • create existsFilter expression function, that takes field and returns kibana_filter
  • create filtersToExpressionAst utility function which takes kibana filters array and returns array expression functions for it
  • use all above in kibana_context function and update embeddable to_ast
@lukeelmers lukeelmers added Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) Team:AppArch labels Jun 1, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants