Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B4EA6CCE for ; Sun, 26 Jun 2011 12:43:12 +0000 (UTC) Received: (qmail 13081 invoked by uid 500); 26 Jun 2011 12:43:11 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 13017 invoked by uid 500); 26 Jun 2011 12:43:10 -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 13005 invoked by uid 99); 26 Jun 2011 12:43:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2011 12:43:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2011 12:43:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5AFD243162C for ; Sun, 26 Jun 2011 12:42:47 +0000 (UTC) Date: Sun, 26 Jun 2011 12:42:47 +0000 (UTC) From: "Michael McCandless (JIRA)" To: dev@lucene.apache.org Message-ID: <1444279217.41378.1309092167369.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1762575835.968.1307470319167.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3179) OpenBitSet.prevSetBit() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-3179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055063#comment-13055063 ] Michael McCandless commented on LUCENE-3179: -------------------------------------------- Thanks for fixing these Uwe! I actually don't like how "generic" OBS has become... ie, that all methods have an int and long version, that the OBS doesn't "know" how many bits it holds (I added this field recently, but only for assertions), that some methods "grow" the number of bits and others don't, some methods accept out-of-bounds indices (negative and > numBits), etc. I think it's grown to accommodate too many users.... but I'm not sure what we should do to fix this. Maybe factor out (yet another) bit set impl that doesn't grow, knows its number of bits, has these fast getNext/getPrev set bit methods, operates only on int indices, etc. > OpenBitSet.prevSetBit() > ----------------------- > > Key: LUCENE-3179 > URL: https://issues.apache.org/jira/browse/LUCENE-3179 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Paul Elschot > Assignee: Paul Elschot > Priority: Minor > Fix For: 3.3, 4.0 > > Attachments: LUCENE-3179-fix.patch, LUCENE-3179-fix.patch, LUCENE-3179.patch, LUCENE-3179.patch, LUCENE-3179.patch, TestBitUtil.java, TestOpenBitSet.patch > > > Find a previous set bit in an OpenBitSet. > Useful for parent testing in nested document query execution LUCENE-2454 . -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org