Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 78732 invoked from network); 6 Oct 2009 21:30:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Oct 2009 21:30:56 -0000 Received: (qmail 90688 invoked by uid 500); 6 Oct 2009 21:30:55 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 90615 invoked by uid 500); 6 Oct 2009 21:30:55 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 90605 invoked by uid 99); 6 Oct 2009 21:30:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 21:30:55 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 21:30:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 71933234C1E7 for ; Tue, 6 Oct 2009 14:30:31 -0700 (PDT) Message-ID: <2040293917.1254864631464.JavaMail.jira@brutus> Date: Tue, 6 Oct 2009 14:30:31 -0700 (PDT) From: "Shalin Shekhar Mangar (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Updated: (SOLR-1493) Provide a non delimiting SpellingQueryConverter In-Reply-To: <133281689.1254779072572.JavaMail.jira@brutus> 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/SOLR-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shalin Shekhar Mangar updated SOLR-1493: ---------------------------------------- Fix Version/s: (was: 1.4) 1.5 Moving to 1.5 since we are not accepting new features for 1.4 anymore. > Provide a non delimiting SpellingQueryConverter > ----------------------------------------------- > > Key: SOLR-1493 > URL: https://issues.apache.org/jira/browse/SOLR-1493 > Project: Solr > Issue Type: Improvement > Affects Versions: 1.3 > Reporter: Jason Falk > Priority: Minor > Fix For: 1.5 > > Attachments: SOLR-1493.patch > > > The current SpellingQueryConverter spell checks individual words only, but in the case of products or names, it is sometimes better to spell check groups of words together. For example if you are searching a person's name, you might want to compute the edit distance against the whole person's name, not individual words. For example: > If I search for Jonny Cash with the current SpellingQueryConverter, it won't suggest any fixes cause we have both an artist with the name Jonny in it and of course the artist who we really want, Johnny Cash. If we don't delimit the words, it will realize Jonny Cash as a whole doesn't exist and will return Johnny Cash instead as a did you mean. > The other advantage of this is that it gets rid of the possibility of the did you mean suggesting a spell correction for one of the two (or more) words that also doesn't exist. Let's say hypothetically we searched for Jonny Cash again, the did you mean might currently suggest Jinny Cash, who also doesn't exist. If we don't delimit the words going into the spellchecker, this shouldn't happen. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.