[
https://issues.apache.org/jira/browse/LUCENE-5440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shai Erera updated LUCENE-5440:
-------------------------------
Attachment: LUCENE-5440.patch
Added a FixedBitSetIterator class and optimization in or/and etc. to do
instanceof checks. Also nuked the copy-constructors - if someone wants to grow,
he can use ensureCapacity. And I don't think shrinking a bitset is a good
enough usecase to keep the ctor (it was anyway not entirely safe, as it didn't
turn off the unused bits in the last word...).
I think this is ready. If there are no objections, I'd like to commit this
tomorrow and proceed w/ cutting over Solr to FBS/LFBS as well.
> Add LongFixedBitSet and replace usage of OpenBitSet
> ---------------------------------------------------
>
> Key: LUCENE-5440
> URL: https://issues.apache.org/jira/browse/LUCENE-5440
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/search
> Reporter: Shai Erera
> Assignee: Shai Erera
> Attachments: LUCENE-5440.patch, LUCENE-5440.patch, LUCENE-5440.patch,
> LUCENE-5440.patch
>
>
> Spinoff from here: http://lucene.markmail.org/thread/35gw3amo53dsqsqj. I
> wrote a LongFixedBitSet which behaves like FixedBitSet, only allows managing
> more than 2.1B bits. It overcome some issues I've encountered with
> OpenBitSet, such as the use of set/fastSet as well the implementation of
> DocIdSet. I'll post a patch shortly and describe it in more detail.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]