Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8771C902A for ; Fri, 9 Mar 2012 14:03:20 +0000 (UTC) Received: (qmail 7080 invoked by uid 500); 9 Mar 2012 14:03:19 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 7016 invoked by uid 500); 9 Mar 2012 14:03:19 -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 7008 invoked by uid 99); 9 Mar 2012 14:03:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2012 14:03:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2012 14:03:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 00D3F16D20 for ; Fri, 9 Mar 2012 14:02:58 +0000 (UTC) Date: Fri, 9 Mar 2012 14:02:57 +0000 (UTC) From: "Uwe Schindler (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <1078649112.43410.1331301778004.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-2557) FuzzyQuery - fuzzy terms and misspellings are ranked higher than exact matches 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-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226080#comment-13226080 ] Uwe Schindler commented on LUCENE-2557: --------------------------------------- Maybe put exact and prefix in one separate BQ and then add this BQ to the DisjMax. > FuzzyQuery - fuzzy terms and misspellings are ranked higher than exact matches > ------------------------------------------------------------------------------ > > Key: LUCENE-2557 > URL: https://issues.apache.org/jira/browse/LUCENE-2557 > Project: Lucene - Java > Issue Type: Bug > Components: core/query/scoring > Affects Versions: 3.0.2 > Reporter: Jingkei Ly > Attachments: LUCENE-2557.patch, idf-scoring-test-case.patch > > > The FuzzyQuery often causes misspellings to be ranked higher than the exact match, which seems to be an undesirable property generally. > For example, in an index of surnames, if I search using a FuzzyQuery for "smith", the misspellings such as "smiith", or "smiht" would appear near the top of the search results ahead of documents that match "smith". -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org