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

Make ScoreAccessor utility class publicly available for other script engines #6898

Closed
wants to merge 1 commit into from

Commits on Jul 16, 2014

  1. Scripts: Make ScoreAccessor utility class plublicly available for oth…

    …er script
    
    engines to use.
    
    With the removal of setNextScore in elastic#6864, script engines must use
    the Scorer to find the score of a document.  The DocLookup is updated
    appropriately to do this, but most script engines require a Number to be
    bound for numeric variables.  Groovy already had an encapsulation for
    this funtionality, and this moves it out to be shared with other script
    engines.
    rjernst committed Jul 16, 2014
    Copy the full SHA
    7bfb388 View commit details
    Browse the repository at this point in the history