lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Commented: (LUCENE-2628) Extract OpenBitSet to Apache Commons
Date Sun, 29 Aug 2010 17:13:54 GMT


Robert Muir commented on LUCENE-2628:

I actually don't agree on that, if a nice stand alone jar comes out of what we do here we
should not hesitate to make it usable without the core but that might be a super rare case
and might even have never happened before here but generally being against such a thing doesn't
seem to be community or cross project friendly to me.

I'm sorry, I strongly disagree. I dont think we should publish artifacts such as "utility
jars" that are not directly related to search.

Furthermore, I do think more things should be marked lucene.internal. In any other good size
software project, there is a mechanism beyond java 'public/protected/private' keywords so
# the code can be shared across packages for internal use
# the code is still not 'exposed' and supported as a public API.

In the JDK, this stuff might be under the package sun.*, in other projects, i have seen ".impl"

The only mechanism we have to keep things reasonable from a support (back-compat, etc) standpoint
is to mark things lucene.internal, and we should use it, or we prevent changes/progress by
creating an unreasonable support burden. 

> 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