Return-Path: Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: (qmail 16951 invoked from network); 2 Oct 2010 14:20:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Oct 2010 14:20:30 -0000 Received: (qmail 43339 invoked by uid 500); 2 Oct 2010 14:20:30 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 43204 invoked by uid 500); 2 Oct 2010 14:20:26 -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 43197 invoked by uid 99); 2 Oct 2010 14:20:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Oct 2010 14:20:25 +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; Sat, 02 Oct 2010 14:20:23 +0000 Received: from eosnew.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 8D4F138F for ; Sat, 2 Oct 2010 14:19:52 +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: Sat, 02 Oct 2010 14:19:52 -0000 Message-ID: <20101002141952.32593.9733@eosnew.apache.org> Subject: =?utf-8?q?=5BSolr_Wiki=5D_Update_of_=22SpellCheckComponent=22_by_RobertMu?= =?utf-8?q?ir?= 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 RobertMuir. The comment on this change is: add links for directspellchecker. http://wiki.apache.org/solr/SpellCheckComponent?action=3Ddiff&rev1=3D45&rev= 2=3D46 -------------------------------------------------- Multiple "spellchecker" instances can be configured in the same way. The = currently available spellchecker implementations are: * 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. + * org.apache.solr.spelling.DirectSolrSpellChecker [[Solr4.0]] -- Exp= erimental spellchecker that only uses your main Solr index directly (build/= rebuild is a no-op). See [[https://issues.apache.org/jira/browse/LUCENE-250= 7|LUCENE-2507]] for more information. = = - =3D=3D Custom Comparators and the Lucene Spell Checkers (IndexBasedSpellC= hecker, FileBasedSpellChecker) =3D=3D + =3D=3D Custom Comparators and the Lucene Spell Checkers (IndexBasedSpellC= hecker, FileBasedSpellChecker, DirectSolrSpellChecker) =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: