-
Type:
Bug
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Lucene Fields:New
Scorer.java has non-abstract non-final non-private non-static methods (getChildren, getWeight) which the FilterScorer.java class does not override.
Proposed changes:
- Option 1: Add the missing methods.
- Option 2: Make the missing methods final in the non-Filter base class.
- Either way, add TestFilterScorer.java class similar to TestFilterWeight.java class.
Optional bonus (as a separate patch?):
- TestFilterWeight, TestFilterCodecReader, TestMergePolicyWrapper and possibly other tests all have implTestDeclaredMethodsOverridden(superClass, subClass, excusedMethods) logic and some sort of lucene/test-framework util FilterTestUtils.java class with a static implTestDeclaredMethodsOverridden method could perhaps be factored out.
- is related to
-
LUCENE-7676 FilterCodecReader to override more super-class methods
-
- Resolved
-