I am using the following configuration to implement file-based spell check
but it is not showing any suggestions.
{
"name":"spellcheck",
"class":"solr.SpellCheckComponent",
"queryAnalyzerFieldType":"text_general",
"spellchecker":{
"name":"default",
"classname":"solr.FileBasedSpellChecker",
"sourceLocation":"/home/Downloads/words.txt"
"spellcheckIndexDir":"./spellcheckerFile",
"characterEncoding":"UTF-8",
"distanceMeasure":"org.apache.lucene.search.spell.LevenshteinDistance",
"accuracy":"0.5"
}
What am I doing wrong? please help!
--