You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2010/04/12 04:23:57 UTC
[Solr Wiki] Update of "SpellCheckingAnalysis" by DavidSmiley
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "SpellCheckingAnalysis" page has been changed by DavidSmiley.
The comment on this change is: Set omitNorms and named the field type textSpell which is the field type referenced in Solr's example solrconfig.xml.
http://wiki.apache.org/solr/SpellCheckingAnalysis?action=diff&rev1=2&rev2=3
--------------------------------------------------
That being said, a common configuration for spell checking is:
{{{
- <fieldType name="spell" class="solr.TextField" positionIncrementGap="100">
+ <fieldType name="textSpell" class="solr.TextField" positionIncrementGap="100" omitNorms="true">
<analyzer type="index">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>