optimize 4.1 codec's encoding of frequencies [LUCENE-4501]
Open
legacy-jira-priority:Major
module:core/codecs
type:enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
If we wanted, we could encode freq-1 into the FOR blocks (since it cannot be 0) and save some space.
---
Migrated from [LUCENE-4501](https://issues.apache.org/jira/browse/LUCENE-4501) by Robert Muir (@rmuir)
Attachments: [LUCENE-4501.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-4501/LUCENE-4501.patch)
Contributor guide
Research direction
No source file, test, or entry point is named in the issue. Start by locating the 4.1 codec's frequency encoding and review the attached LUCENE-4501.patch for context; done means encoding freq-1 in the FOR blocks while preserving codec behavior and saving space.
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
- Needs clarification
- Newbie friendliness
- 35/100