BytesRef improvements [LUCENE-2438]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
Make BytesRef comparable, document that byte[] should not be null, remove explicit null check + allocation.
---
Migrated from [LUCENE-2438](https://issues.apache.org/jira/browse/LUCENE-2438) by Yonik Seeley (@yonik), updated May 04 2010
Attachments: [LUCENE-2438.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-2438/LUCENE-2438.patch) (versions: 3)
Contributor guide
Research direction
Start by locating the BytesRef implementation and reviewing the attached LUCENE-2438.patch. Check how comparison, the byte[] null contract, and the explicit null check and allocation are currently handled. Done means the requested comparable behavior, documentation, and allocation change are covered by the relevant existing tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100