make booleanweight final [LUCENE-6312]
Open
legacy-jira-priority:Major
type:bug
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
BooleanWeight currently supports subclassing, for the BoostingQuery in lucene/queries.
It is too important to have to worry about subclassing too, we should just make it final. This query can do its hacks another way?
---
Migrated from [LUCENE-6312](https://issues.apache.org/jira/browse/LUCENE-6312) by Robert Muir (@rmuir)
Contributor guide
Research direction
Start by locating BooleanWeight and its subclassing relationship with BoostingQuery under lucene/queries. Determine how BoostingQuery can avoid that relationship, then verify that BooleanWeight can be made final without breaking the query behavior. The issue names no specific tests or files beyond the lucene/queries area.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100