This came up the other day, too, see http://lucene.markmail.org/message/cnrrkw3d35wqxhzz?q=How+to+tokenize/analyze+docs+for+the+spellchecker
.
I think we could add this to the Lucene spellchecker, or at least to
the SpellCheckComponent. rameshgalla, care to write up your code as a
patch?
Hi,
I don't know there is better solution for this one. But I resolved this
problem in my application like this.
After getting the spell suggestion I have performed the search operation
without displaying the results.
If the numdocs is greater than or equal to one only I have displayed the
spellc