Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 25018 invoked from network); 22 Dec 2010 18:10:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Dec 2010 18:10:23 -0000 Received: (qmail 3690 invoked by uid 500); 22 Dec 2010 18:10:22 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 3649 invoked by uid 500); 22 Dec 2010 18:10:22 -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 3642 invoked by uid 99); 22 Dec 2010 18:10:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Dec 2010 18:10:22 +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; Wed, 22 Dec 2010 18:10:21 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBMIA1tR023614 for ; Wed, 22 Dec 2010 18:10:01 GMT Message-ID: <18837165.272741293041401622.JavaMail.jira@thor> Date: Wed, 22 Dec 2010 13:10:01 -0500 (EST) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-2829) improve termquery "pk lookup" performance In-Reply-To: <14934728.250351292963821078.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-2829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974310#action_12974310 ] Robert Muir commented on LUCENE-2829: ------------------------------------- Bloom filters and negative caches are nice, but please open separate issues! I am starting to feel like its mandatory to refactor the entirety of lucene to make a single incremental improvement. So, I'd like to proceed with this issue as-is, to make TermWeight explicitly do less seeks. > improve termquery "pk lookup" performance > ----------------------------------------- > > Key: LUCENE-2829 > URL: https://issues.apache.org/jira/browse/LUCENE-2829 > Project: Lucene - Java > Issue Type: Improvement > Components: Search > Reporter: Robert Muir > Attachments: LUCENE-2829.patch > > > For things that are like primary keys and don't exist in some segments (worst case is primary/unique key that only exists in 1) > we do wasted seeks. > While LUCENE-2694 tries to solve some of this issue with TermState, I'm concerned we could every backport that to 3.1 for example. > This is a simpler solution here just to solve this one problem in termquery... we could just revert it in trunk when we resolve LUCENE-2694, > but I don't think we should leave things as they are in 3.x -- 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