[prev in list] [next in list] [prev in thread] [next in thread]
List: lucene-user
Subject: Re: Lucene 5: Mutable/Immutable interface of BitSet
From: Yonik Seeley <yseeley () gmail ! com>
Date: 2015-09-14 3:29:19
Message-ID: CAB_8Yd-+D88TJktppzqe49BGhY8pzBF8fKgAOrHakfsahr-9ug () mail ! gmail ! com
[Download RAW message or body]
On Sun, Sep 13, 2015 at 5:55 PM, Selva Kumar
<selva.kumar.at.work@gmail.com> wrote:
> BitSet has many more readonly method compared to Bits.
Ah, I see what you're saying now.
If you have a need/usecase for certain methods on Bits, perhaps open a
JIRA issue and propose them.
-Yonik
> Similarly, BitSet
> has many more write methods compared to MutableBits. So, as I said, this
> seems to be based on internal requirement like live docs, documents with
> DocValues etc.
>
> Thanks for your time, Yonik
>
>
> On Sun, Sep 13, 2015 at 4:43 PM, Yonik Seeley <yseeley@gmail.com> wrote:
>
>> On Sun, Sep 13, 2015 at 4:23 PM, Selva Kumar
>> <selva.kumar.at.work@gmail.com> wrote:
>> > Mutable, "Immutable" interface of BitSet seems to be defined based on
>> > specific things like live docs and documents with DocValue etc. Any plan
>> to
>> > add general purpose readonly interface to BitSet?
>>
>> We already have the "Bits" interface:
>>
>> public interface Bits {
>> public boolean get(int index);
>> public int length();
>> }
>>
>> -Yonik
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic