Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 22078 invoked from network); 26 Aug 2009 00:55:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Aug 2009 00:55:56 -0000 Received: (qmail 59466 invoked by uid 500); 26 Aug 2009 00:56:21 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 59395 invoked by uid 500); 26 Aug 2009 00:56:21 -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 59374 invoked by uid 99); 26 Aug 2009 00:56:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Aug 2009 00:56:21 +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; Wed, 26 Aug 2009 00:56:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4B36B234C04C for ; Tue, 25 Aug 2009 17:55:59 -0700 (PDT) Message-ID: <1801457650.1251248159293.JavaMail.jira@brutus> Date: Tue, 25 Aug 2009 17:55:59 -0700 (PDT) From: "Hoss Man (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Commented: (SOLR-630) Spellchecker should not be case-sensitive and should be stopwords-aware In-Reply-To: <1858092871.1216068871617.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-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747724#action_12747724 ] Hoss Man commented on SOLR-630: ------------------------------- bq. P.S. I believe that one can avoid case-sensitive issue by configuring properly the analyzers (e.g. for the spellchecker field). yeah ... without a concrete example of what kind of config can produce these bugs, my gut assumption is that with *some* config for spellchecker this problem doesn't exist. at which point this bug really just becomes an issue if our current example/documentation isn't advocating the best solution. > Spellchecker should not be case-sensitive and should be stopwords-aware > ----------------------------------------------------------------------- > > Key: SOLR-630 > URL: https://issues.apache.org/jira/browse/SOLR-630 > Project: Solr > Issue Type: Bug > Components: spellchecker > Reporter: Otis Gospodnetic > Priority: Minor > Fix For: 1.5 > > > Here are 2 more bugs: > 1) > Search for: > united states of America > Suggests: > united states oft America > It looks like the SC doesn't check stopwords, and "of" is a stopword. Thus, it does not exist in the index, > but "oft" does, so SC suggests "oft" and thinks "of" is misspelled. I think the SC component should check the list of > stopwords, too, no? > 2) > Search for: > united states of America > Suggests: > united states oftAmericaa > The of->oft is described above. But note how SC suggested America->Americaa, but it didn't do that for "america". > This looks like case-sensitivity problem. Shouldn't the SC be case-insensitive? > I can't produce a patch now (no src handy), so I'm hoping Grant or somebody else can do it based on this report. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.