lucene-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/LUCENE-2628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903990#action_12903990
] 

Robert Muir commented on LUCENE-2628:
-------------------------------------

{quote}
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.
{quote}

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
that
# 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"
packages.

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: https://issues.apache.org/jira/browse/LUCENE-2628
>             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 o.a.l.search.DocIdSet 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message