Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 48763 invoked from network); 9 Nov 2008 11:25:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Nov 2008 11:25:17 -0000 Received: (qmail 11386 invoked by uid 500); 9 Nov 2008 11:25:17 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 11333 invoked by uid 500); 9 Nov 2008 11:25:16 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 11321 invoked by uid 99); 9 Nov 2008 11:25:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 03:25:16 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.109.24.22] (HELO smtp-vbr2.xs4all.nl) (194.109.24.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 11:23:58 +0000 Received: from k8u.lan (porta.xs4all.nl [80.127.24.69]) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id mA9BOd9L016015 for ; Sun, 9 Nov 2008 12:24:39 +0100 (CET) (envelope-from paul.elschot@xs4all.nl) From: Paul Elschot To: java-user@lucene.apache.org Subject: Re: How to combine filter in Lucene 2.4? Date: Sun, 9 Nov 2008 12:24:40 +0100 User-Agent: KMail/1.9.10 References: <200811081906.15739.lucene@nitwit.de> <200811091034.58815.lucene@nitwit.de> <4916C1E5.3010904@yahoo.co.uk> In-Reply-To: <4916C1E5.3010904@yahoo.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811091224.41001.paul.elschot@xs4all.nl> X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked by ClamAV on apache.org Op Sunday 09 November 2008 11:56:37 schreef markharw00d: > >>this can't be nearly as fast as OpenBitSet.intersect() or union, > > respectively, can it? > > I had a similar concern but it doesn't seem that bad: > > > https://issues.apache.org/jira/browse/LUCENE-1187?focusedCommentId=12 >596546#action_12596546 > > The above test showed a slight improvement using bitset.or when it > was recognised both docidsets were OpenBitSets. This optimisation is > now in BooleanFilter. Further to that, the current implementation of OpenBitSetDISI.inPlaceAnd() is not optimal, although it should work just fine. A patch for a performance improvement will follow. Regards, Paul Elschot > > Cheers > Mark > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org