If the list of words isn't very long, you can add a StopFilter to the analysis for "itemDescSpell" and put the words you don't want in the stop list. If you want to prevent low-occuring words from being sued as corrections, use the "thresholdTokenFrequency" in your spellcheck configuration.
James Dyer E-Commerce Systems Ingram Content Group (615) 213-4311 -----Original Message----- From: geeky2 [mailto:gee...@hotmail.com] Sent: Tuesday, March 27, 2012 9:07 AM To: solr-user@lucene.apache.org Subject: preventing words from being indexed in spellcheck dictionary? hello all, i am creating a spellcheck dictionary from the itemDescSpell field in my schema. is there a way to prevent certain words from entering the dictionary - as the dictionary is being built? thanks for any help mark // snipped from solarconfig.xml <lst name="spellchecker"> <str name="name">default</str> <str name="field">itemDescSpell</str> <str name="buildOnOptimize">true</str> <str name="spellcheckIndexDir">spellchecker_mark</str> -- View this message in context: http://lucene.472066.n3.nabble.com/preventing-words-from-being-indexed-in-spellcheck-dictionary-tp3861472p3861472.html Sent from the Solr - User mailing list archive at Nabble.com.