lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SpellCheckComponent" by RobertMuir
Date Sat, 02 Oct 2010 14:19:52 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 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=diff&rev1=45&rev2=46

--------------------------------------------------

  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 spelling dictionary
that is based on the Solr index or an existing Lucene index
   * org.apache.solr.spelling.FileBasedSpellChecker -- Create and use a spelling 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]] -- Experimental
spellchecker that only uses your main Solr index directly (build/rebuild is a no-op). See
[[https://issues.apache.org/jira/browse/LUCENE-2507|LUCENE-2507]] for more information. 
  
- == Custom Comparators and the Lucene Spell Checkers (IndexBasedSpellChecker, FileBasedSpellChecker)
==
+ == Custom Comparators and the Lucene Spell Checkers (IndexBasedSpellChecker, FileBasedSpellChecker,
DirectSolrSpellChecker) ==
  <!> [[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 available) 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 configuration.
 This is a string value which may be one of the following:

Mime
View raw message