1. Create a copy of the field and add the exception list to it.

2. Or, add a second spell checker to your spellcheck search component that is a FileBasedSpellChecker with the exceptions in a simple text file. Then reference both spellcheckers with spellcheck.dictionary, with the FileBasedSpellChecker as the first.

-- Jack Krupansky

-----Original Message----- From: Hemant Verma
Sent: Monday, February 18, 2013 2:06 AM
To: solr-user@lucene.apache.org
Subject: SpellCheck - Ignore list of words

Hi All

I have a use case where I have a list of words, on which I don't want to
perform spellcheck.
Like stemming ignores the words listed in protwords.txt file.
Any idea, how it can be solved?

Thanks
Hemant



--
View this message in context: http://lucene.472066.n3.nabble.com/SpellCheck-Ignore-list-of-words-tp4041099.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to