Return-Path: Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: (qmail 87869 invoked from network); 18 Aug 2010 15:36:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Aug 2010 15:36:55 -0000 Received: (qmail 42454 invoked by uid 500); 18 Aug 2010 15:36:55 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 42399 invoked by uid 500); 18 Aug 2010 15:36:54 -0000 Mailing-List: contact solr-commits-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-commits@lucene.apache.org Received: (qmail 42392 invoked by uid 99); 18 Aug 2010 15:36:54 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Aug 2010 15:36:54 +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.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Aug 2010 15:36:36 +0000 Received: from eosnew.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id D28C6871 for ; Wed, 18 Aug 2010 15:36:14 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Wed, 18 Aug 2010 15:36:14 -0000 Message-ID: <20100818153614.92271.20412@eosnew.apache.org> Subject: =?utf-8?q?=5BSolr_Wiki=5D_Update_of_=22SpellCheckComponent=22_by_GrantIng?= =?utf-8?q?ersoll?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for chan= ge notification. The "SpellCheckComponent" page has been changed by GrantIngersoll. http://wiki.apache.org/solr/SpellCheckComponent?action=3Ddiff&rev1=3D43&rev= 2=3D44 -------------------------------------------------- * org.apache.solr.spelling.IndexBasedSpellChecker -- Create and use a sp= elling dictionary that is based on the Solr index or an existing Lucene ind= ex * org.apache.solr.spelling.FileBasedSpellChecker -- Create and use a spe= lling dictionary based off a flat file. This can be useful for using Solr = as a spelling server or in other instances when spelling suggestions do not= need to be based on the content of an actual index. = - =3D=3D Custom Comparators and the Lucene Spell Checkers (!IndexBasedSpell= Checker, !FileBasedSpellChecker) =3D=3D + =3D=3D Custom Comparators and the Lucene Spell Checkers (IndexBasedSpellC= hecker, FileBasedSpellChecker) =3D=3D [[Solr3.1]] [[Solr4.0]] = By default, the Lucene Spell checkers sort suggestions first by the score= from the string distance calculation and second by the frequency (if avail= able) of the suggestion in the index. Applications may wish to change this= to better fit their scoring needs. This can be done when configuring the = Lucene spell checker by adding the comparatorClass option to the configurat= ion. This is a string value which may be one of the following: