apache / apache/lucene

Remove "final" modifier from encode/decodeNormValue methods in DefaultSimilarity class. [LUCENE-6023]

Open
#7,085 5 comments 0 reactions 0 assignees View on GitHub
legacy-jira-label:similarity legacy-jira-priority:Major module:core/query/scoring type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

---
Migrated from [LUCENE-6023](https://issues.apache.org/jira/browse/LUCENE-6023) by Hafiz M Hamid, updated Oct 27 2014

Contributor guide

Open the contributing guide

Research direction

Locate the DefaultSimilarity class and inspect the encodeNormValue and decodeNormValue methods named in the issue. Confirm the intended change is limited to removing their final modifiers, then run the relevant existing Lucene tests to verify that the change does not break behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.