lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Hood (JIRA)" <>
Subject [jira] Commented: (LUCENE-2628) Extract OpenBitSet to Apache Commons
Date Sun, 29 Aug 2010 05:24:53 GMT


Stu Hood commented on LUCENE-2628:

> then other use cases might want to make tradeoffs that are bad for lucene
I can't claim to see the future, but I think this datastructure is already so specialized
and solid that the chances of it evolving much further are slim.

> Additionally the lucene core has no external dependencies, and I dont think we should
add any.
While this is definitely admirable and worth trying to preserve, it should be weighed against
the duplication it incurs: especially within the Apache project itself. For example if the
Cassandra project takes the same stance, then we end up with two copies of this class.

> Extract OpenBitSet to Apache Commons
> ------------------------------------
>                 Key: LUCENE-2628
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Wish
>            Reporter: Stu Hood
> o.a.l.util.OpenBitSet is a great alternative to java.util.BitSet, and it is generally
useful outside of the search field. It would be great if OpenBitSet were available outside
of Lucene proper, perhaps as part of Apache Commons.
> Aside from the communication required to accomplish this, there is the small issue of
OpenBitSet extending in Lucene 3.0. There is very little logic contained
in DocIdSet, so it could probably become an interface: Lucene proper could then extend the
extract version of OpenBitSet to implement DocIdSet.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message