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

Added advance override for AvgParentScorer. #2747


Copy link

@lindstromhenrik lindstromhenrik commented Mar 8, 2013

For scoring using advance the AvgParentScorer used the advance override for ParentScorer resulting in returning the sum. This fix adds the advancce override to the AvgParentScorer calculating the avg correctly.

This fix mainly fixes issues with the 0.20.x releasse where advance is used when calculating scores for child queries returning the wrong score when using the 'avg' score_type.

Copy link

kimchy commented Mar 8, 2013

Pushed, thanks!.

@kimchy kimchy closed this Mar 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants