Remove one of SparseFixedBitSet/DocIdSetBuilder.Buffer [LUCENE-10443]
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
SparseFixedBItSet is no longer used by DocIdSetBuilder, but the class didn't get cleaned up and removed.
We only need one sparse representation and don't need to just litter up the codebase with unnecessary classes.
---
Migrated from [LUCENE-10443](https://issues.apache.org/jira/browse/LUCENE-10443) by Robert Muir (@rmuir)
Contributor guide
Research direction
Compare usages of SparseFixedBitSet and DocIdSetBuilder.Buffer to determine which sparse representation is no longer needed, then inspect the related tests and build checks. Done means the unused class is removed without breaking Lucene's tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100