Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 38736 invoked from network); 13 Nov 2008 15:08:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Nov 2008 15:08:37 -0000 Received: (qmail 2736 invoked by uid 500); 13 Nov 2008 15:08:43 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 2702 invoked by uid 500); 13 Nov 2008 15:08:42 -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 2685 invoked by uid 99); 13 Nov 2008 15:08:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2008 07:08:42 -0800 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; Thu, 13 Nov 2008 15:07:30 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BBDBD234C28E for ; Thu, 13 Nov 2008 07:07:44 -0800 (PST) Message-ID: <171289536.1226588864768.JavaMail.jira@brutus> Date: Thu, 13 Nov 2008 07:07:44 -0800 (PST) From: "Otis Gospodnetic (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Issue Comment Edited: (LUCENE-524) Current implementation of fuzzy and wildcard queries inappropriately implemented as Boolean query rewrites In-Reply-To: <1089935126.1142642862134.JavaMail.jira@ajax> 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-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647181#action_12647181 ] otis edited comment on LUCENE-524 at 11/13/08 7:06 AM: ------------------------------------------------------------------- Based on the description, yes. Doesn't this also sound a lot like that old Mark H's LUCENE-329 issue? was (Author: otis): Based on the description, yes. Doesn't this also sound a lot like that old Mark H's issue that you commented on earlier? > Current implementation of fuzzy and wildcard queries inappropriately implemented as Boolean query rewrites > ---------------------------------------------------------------------------------------------------------- > > Key: LUCENE-524 > URL: https://issues.apache.org/jira/browse/LUCENE-524 > Project: Lucene - Java > Issue Type: Improvement > Components: Search > Affects Versions: 1.9 > Reporter: Randy Puttick > Priority: Minor > Attachments: MultiTermQuery.java, MultiTermScorer.java > > > The implementation of MultiTermQuery in terms of BooleanQuery introduces several problems: > 1) Collisions with maximum clause limit on boolean queries which throws an exception. This is most problematic because it is difficult to ascertain in advance how many terms a fuzzy query or wildcard query might involve. > 2) The boolean disjunctive scoring is not appropriate for either fuzzy or wildcard queries. In effect the score is divided by the number of terms in the query which has nothing to do with the relevancy of the results. > 3) Performance of disjunctive boolean queries for large term sets is quite sub-optimal -- 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