Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 48846 invoked from network); 20 Oct 2010 08:40:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Oct 2010 08:40:49 -0000 Received: (qmail 77884 invoked by uid 500); 20 Oct 2010 08:40:47 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 77839 invoked by uid 500); 20 Oct 2010 08:40:47 -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 77832 invoked by uid 99); 20 Oct 2010 08:40:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Oct 2010 08:40:47 +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, 20 Oct 2010 08:40:45 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9K8eNfo020166 for ; Wed, 20 Oct 2010 08:40:23 GMT Message-ID: <28612991.5391287564023075.JavaMail.jira@thor> Date: Wed, 20 Oct 2010 04:40:23 -0400 (EDT) From: "Uwe Schindler (JIRA)" To: dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-2715) optimize fuzzytermsenum per-segment In-Reply-To: <2641630.53611287518246871.JavaMail.jira@thor> 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-2715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2715: ---------------------------------- Attachment: LUCENE-2715.patch Police reviewed again and found a solution (Robert asked me) how to make the attribute private. As the impl class must be public for AS to load it, the trick is to wrap it in a private static inner class. By that the attributes are invisible to both code and javadocs. You can only load and instantiate the class by reflection or when you have a already loaded Class object of the attribute. Also added javadocs for ctor (forgot that on MTQ per-seg rewrite issue) and made attribute impl final. I think it's ready to commit. Robert? > optimize fuzzytermsenum per-segment > ----------------------------------- > > Key: LUCENE-2715 > URL: https://issues.apache.org/jira/browse/LUCENE-2715 > Project: Lucene - Java > Issue Type: Improvement > Components: Search > Reporter: Robert Muir > Fix For: 4.0 > > Attachments: LUCENE-2715.patch, LUCENE-2715.patch, LUCENE-2715.patch, LUCENE-2715.patch > > > we can make fuzzyquery about 3% faster by not creating DFA(s) for each segment. > creating the DFAs is still somewhat heavy: i can address this here too, but this is easy. -- 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