Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The following page has been changed by GrantIngersoll:
http://wiki.apache.org/solr/SpellCheckComponent

The comment on the change is:
Add in LUCENE-1297 example configuration

------------------------------------------------------------------------------
        <!-- Optional, by default use in-memory index (RAMDirectory) -->
        <str name="spellcheckIndexDir">./spellchecker</str>
      </lst>
+     <!-- Example of using different distance measure -->
+     <lst name="spellchecker">
+       <str name="name">jarowinkler</str>
+       <str name="field">lowerfilt</str>
+       <!-- Use a different Distance Measure -->
+       <str 
name="distanceMeasure">org.apache.lucene.search.spell.JaroWinklerDistance</str>
+       <str name="spellcheckIndexDir">./spellchecker</str>
+ 
+     </lst>
  
      <!-- This field type's analyzer is used by the QueryConverter to tokenize 
the value for "q" parameter -->
      <str name="queryAnalyzerFieldType">textSpell</str>

Reply via email to