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

Add score() back to AbstractSearchScript #8416

Closed
rjernst opened this issue Nov 10, 2014 · 1 comment
Closed

Add score() back to AbstractSearchScript #8416

rjernst opened this issue Nov 10, 2014 · 1 comment

Comments

@rjernst
Copy link
Member

rjernst commented Nov 10, 2014

In #6864, score() was removed from AbstractSearchScript, in favor of using doc().score(). However, in #7819, score() was removed from DocLookup. While native scripts can still override setScorer(Scorer), we should make it easier to access the score by keeping stashing the scorer in AbstractScoreScript for them.

@s1monw
Copy link
Contributor

s1monw commented Nov 10, 2014

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants