Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Added advance override for AvgParentScorer. #2747
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.