lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <>
Subject [jira] Commented: (LUCENE-2628) Extract OpenBitSet to Apache Commons
Date Sun, 29 Aug 2010 14:37:55 GMT


Simon Willnauer commented on LUCENE-2628:

Well ... if Cassandra already depends on Lucene then you're right. But I guess it doesn't
make sense to introduce a dependency on a 1MB JAR for a class like OBS. It's practically the
same argument as to why not extract OBS into commons ... but of course the folks at Cassandra
are free to choose whichever way works for them.

I agree with both Shai and Robert that the nature of Lucene's specialized utility classes
are that they are still special purpose and the should not be changed just for the sake of
making them usable by other projects because the like a class or two.

I still wanna throw one possible solution in for discussion. Since Lucene has many very useful
classes in its utils package we could consider package the utils package as its own jar decoupled
somehow from the core. That way people could use those classes without pulling in the whole
lucene core and the interface would remain unchanged. It still feels odd that core would depend
on utils jar but it would be an option and it would fit into the modules concept.

bq. So let's close that issue?

> 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