Passing correct score mode in NativeEnginekNNVectorQuery. NativeEnginekNNVectorQuery was always passing ScoreMode.COMPLETE ideally it should be the score mode which was passed to createWeight function.
Ensuring visitor is called in KnnQuery.
Both these fixes doesn't impact any query performance or fixes a bug, but these were inconsistencies in the code.
Related Issues
NA
Check List
[X] New functionality includes testing.
[X] Commits are signed per the DCO using --signoff.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.
Description
Minor code fixes which includes:
ScoreMode.COMPLETE
ideally it should be the score mode which was passed to createWeight function.Both these fixes doesn't impact any query performance or fixes a bug, but these were inconsistencies in the code.
Related Issues
NA
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.