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

Pass script params through to fielddata impl #59762

Conversation

javanna
Copy link
Member

@javanna javanna commented Jul 17, 2020

This addresses a TODO around using the script params, which are now parsed from the mappings. It also expand existing tests to verify that params are carried around and accessible in script for both fielddata and queries.

Relates to #59332

This addresses a TODO around using the script params, which are now parsed from the mappings. It also expand existing tests to verify that params are carried around and accessible in script for both fielddata and queries.
@javanna javanna added the :Search/Search Search-related issues that do not fall into other categories label Jul 17, 2020
@javanna javanna requested a review from nik9000 July 17, 2020 11:26
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/Search)

@elasticmachine elasticmachine added the Team:Search Meta label for search team label Jul 17, 2020
@javanna javanna changed the title Pass in script params to fielddata impl Pass script params through to fielddata impl Jul 17, 2020
@javanna
Copy link
Member Author

javanna commented Jul 17, 2020

run elasticsearch-ci/2

Copy link
Member

@nik9000 nik9000 left a comment

Choose a reason for hiding this comment

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

LGTM. Want to add a test to one of the queries to make sure they pick up params too?

@javanna
Copy link
Member Author

javanna commented Jul 17, 2020

Want to add a test to one of the queries to make sure they pick up params too?

I've already done that for term query ;)

@javanna javanna merged commit 45d0dc5 into elastic:feature/runtime_fields Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants