Hello, I am using SolrCloud 4.0.0 and trying to get the Suggester to work. I have set it up according to the wiki instructions but can't get it to return any suggestions. Here is my setup:
*schema.xml* <fieldType class="solr.TextField" name="text_auto"> <analyzer> <tokenizer class="solr.KeywordTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> </analyzer> </fieldType> <field name="content_autocomplete" type="text_auto" indexed="true" stored="true"/> <copyField source="content" dest="content_autocomplete"/> *solrconfig.xml* <searchComponent class="solr.SpellCheckComponent" name="suggest"> <str name="queryAnalyzerFieldType">text_auto</str> <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="field">content_autocomplete</str> <str name="buildOnCommit">true</str> <str name="storeDir">suggestdir</str> </lst> </searchComponent> <requestHandler name="/suggest" class="solr.SearchHandler" startup="lazy"> <lst name="defaults"> <str name="spellcheck.dictionary">suggest</str> <str name="spellcheck">on</str> <str name="spellcheck.extendedResults">true</str> <str name="spellcheck.count">10</str> <str name="spellcheck.onlyMorePopular">true</str> </lst> <arr name="last-components"> <str>suggest</str> </arr> </requestHandler> When I run /suggest?spellcheck.build=true, it creates a called tst.dat in suggestdir. However, when I do a query like /suggest?q=xxx, it does not return any suggestions. Here is what it returns: <result name="response" numFound="0" start="0" maxScore="0.0"/> <lst name="spellcheck"> <lst name="suggestions"> <bool name="correctlySpelled">false</bool> </lst> </lst> Any help would be greatly appreciated. Thanks Aman -- View this message in context: http://lucene.472066.n3.nabble.com/Suggester-not-working-tp4027282.html Sent from the Solr - User mailing list archive at Nabble.com.