apache / apache/lucene

Add a general purpose readonly interace to BitSet [LUCENE-6805]

Open
#7,863 3 comments 0 reactions 0 assignees View on GitHub
affects-version:5.0 affects-version:5.2 legacy-jira-priority:Major type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

BitSet has many more readonly methods compared to Bits. Similarly, BitSet has many more write methods compared to MutableBits.

This Jira issue is to add a new ImmutableBits interface to BitSet that includes all ready only methods of BitSet.

---
Migrated from [LUCENE-6805](https://issues.apache.org/jira/browse/LUCENE-6805) by Selva Kumar, updated Sep 27 2015

Contributor guide

Open the contributing guide

Research direction

Start by locating the BitSet, Bits, and MutableBits definitions and compare the read-only methods exposed by BitSet with the existing interfaces. Review the linked LUCENE-6805 discussion for the intended API scope. Done means BitSet has a general-purpose ImmutableBits interface containing all of its read-only methods.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.