Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 89041 invoked from network); 29 Aug 2010 16:45:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Aug 2010 16:45:17 -0000 Received: (qmail 99478 invoked by uid 500); 29 Aug 2010 16:45:16 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 99349 invoked by uid 500); 29 Aug 2010 16:45:16 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 99342 invoked by uid 99); 29 Aug 2010 16:45:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Aug 2010 16:45:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Aug 2010 16:45:15 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7TGispm029083 for ; Sun, 29 Aug 2010 16:44:54 GMT Message-ID: <33204814.58831283100294756.JavaMail.jira@thor> Date: Sun, 29 Aug 2010 12:44:54 -0400 (EDT) From: "Chris A. Mattmann (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-2628) Extract OpenBitSet to Apache Commons In-Reply-To: <6172863.53401283029252967.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-2628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903985#action_12903985 ] Chris A. Mattmann commented on LUCENE-2628: ------------------------------------------- *puts on ASF member hat* Unless the Lucene folks want to champion moving over the OpenBitSet class into commons, then this discussion is really moot. The reporter of this issue (Stu) is free to create a patch for commons that duplicates this class, and if the commons folks are willing to manage it over there, then that's on them. If the Lucene folks at some point down the road then decide to take Stu's commons contribution, and update their internal Lucene code to use the commons versions, then more power to them. If the opposite is true, that's fine as well. This is all ASLv2 licensed stuff in the end, and folks are free to fork. That said, it's on the maintainers of libraries in *both* communities to decide if things are worth the reorganization in the end. For the commons side, it seems like an easier job (accept patch, find someone to maintain it, e.g., Stu). On the Lucene side, depending on how or how little reuse you want to do (reuse entirely, remove class in Lucene, to subclassing an internal Lucene class that depends on the new commons one, and/or overrides it, all the way to keeping a copy of the commons class in Lucene-ville). > 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