Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 8007 invoked from network); 30 Jul 2008 21:25:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jul 2008 21:25:58 -0000 Received: (qmail 18770 invoked by uid 500); 30 Jul 2008 21:25:53 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 18725 invoked by uid 500); 30 Jul 2008 21:25:53 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 18716 invoked by uid 99); 30 Jul 2008 21:25:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 14:25:53 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2008 21:25:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C54C8234C181 for ; Wed, 30 Jul 2008 14:25:31 -0700 (PDT) Message-ID: <1154955516.1217453131807.JavaMail.jira@brutus> Date: Wed, 30 Jul 2008 14:25:31 -0700 (PDT) From: "Yonik Seeley (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-1345) Allow Filter as clause to BooleanQuery In-Reply-To: <1854340418.1216849231610.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618513#action_12618513 ] Yonik Seeley commented on LUCENE-1345: -------------------------------------- Eks, I just tried your first TestIteratorPerf.java myself, and comparison with zero was faster (as expected) by about 8% I commented everything out except for testNew for simplicity. Original testNew: {code} $ java -server -cp . TestIteratorPerf new milliseconds=2883 new milliseconds=3289 new milliseconds=3148 new milliseconds=3195 new milliseconds=3149 new milliseconds=3179 new milliseconds=3180 new milliseconds=3164 new milliseconds=3179 new milliseconds=3164 new total milliseconds=31530 {code} Modified testNew: // while(-1!=(doc=it.next())){ while((doc=it.next()) >= 0) {code} $ java -server -cp . TestIteratorPerf new milliseconds=2806 new milliseconds=2899 new milliseconds=2915 new milliseconds=2899 new milliseconds=2914 new milliseconds=2899 new milliseconds=2899 new milliseconds=3040 new milliseconds=2899 new milliseconds=2930 new total milliseconds=29100 {code} System: WinXP, Pentium4, java version "1.5.0_11" > Allow Filter as clause to BooleanQuery > -------------------------------------- > > Key: LUCENE-1345 > URL: https://issues.apache.org/jira/browse/LUCENE-1345 > Project: Lucene - Java > Issue Type: Improvement > Components: Search > Reporter: Paul Elschot > Priority: Minor > Attachments: DisjunctionDISI.java, DisjunctionDISI.patch, DisjunctionDISI.patch, LUCENE-1345.patch, LUCENE-1345.patch, OpenBitSetIteratorExperiment.java, TestIteratorPerf.java, TestIteratorPerf.java > > -- 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: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org