I am working with solr auto complete functionality,I am using solr 4.50 to build my application, and I am following this link as a reference. http://lucene.472066.n3.nabble.com/auto-completion-search-with-solr-using-NGrams-in-SOLR-td3998559i20.html
My suggest component is something like this <searchComponent class="solr.SpellCheckComponent" name="suggest"> <lst name="spellchecker"> <str name="name">suggest</str> <str name="classname">org.apache.solr.spelling.suggest.Suggester</str> <str name="lookupImpl">org.apache.solr.spelling.suggest.tst.TSTLookup</str> <str name="storeDir">suggest</str> <str name="field">autocomplete_text</str> <bool name="exactMatchFirst">true</bool> <float name="threshold">0.005</float> <str name="buildOnCommit">true</str> <str name="buildOnOptimize">true</str> </lst> <lst name="spellchecker"> <str name="name">jarowinkler</str> <str name="field">lowerfilt</str> <str name="distanceMeasure">org.apache.lucene.search.spell.JaroWinklerDistance</str> <str name="spellcheckIndexDir">spellchecker</str> </lst> <str name="queryAnalyzerFieldType">edgytext</str> </searchComponent> but, I am getting the following error *org.apache.solr.spelling.suggest.Suggester – Loading stored lookup data failed java.io.FileNotFoundException: /home/anurag/Downloads/solr-4.4.0/example/solr/collection1/data/suggest/tst.dat (No such file or directory)* It says that some file are missing but the solr wiki suggester component says it supports these lookupImpls -- *<str name="lookupImpl">org.apache.solr.spelling.suggest.tst.TSTLookup</str> * Dont know what I am doing wrong..... Any help will be deeply appreciated -- View this message in context: http://lucene.472066.n3.nabble.com/error-in-suggester-component-in-solr-tp4098028.html Sent from the Solr - User mailing list archive at Nabble.com.