mlbiscoc opened a new pull request, #4314:
URL: https://github.com/apache/solr/pull/4314

   Trying to send a query with ValueSourceAugmenter that requested score and > 
1000 rows resulted in an NPE. This is because when it passes prefetch limit and 
tries to retrieve score, it was referenced incorrectly.
   
   ValueSourceAugmenter was overriding a deprecated 2-arg method which didn't 
have access to score. The method then incorrectly tried to get score via 
`(float) doc.get("score")` 
   
   To fix, we override the non-deprecated method instead which actually has 
`DocIterationInfo` to get the score.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to