Hafiz M Hamid created LUCENE-6023:
-------------------------------------
Summary: Remove "final" modifier from four methods of
TFIDFSimilarity class to make them overridable.
Key: LUCENE-6023
URL: https://issues.apache.org/jira/browse/LUCENE-6023
Project: Lucene - Core
Issue Type: Bug
Components: core/query/scoring
Affects Versions: 4.2.1
Reporter: Hafiz M Hamid
Fix For: 4.2.1
The TFIDFSimilarity has the following four of its public methods marked "final"
which is keeping us from overriding these methods. Apparently there doesn't
seem to be an obvious reason for keeping these methods non-overridable.
Here are the four methods:
computeNorm()
computeWeight()
exactSimScorer()
sloppySimScorer()
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]