1) which version of Solr are you using? (note that the online HTML ref guide is a DRARFT that applies to 5.0 - you may want to review the specific released version of the ref guide that applies to your version of solr: http://archive.apache.org/dist/lucene/solr/ref-guide/
2) the behavior of the suggester is very specific to the contents of the dictionary built -- the examples on that page apply to the example docs included with solr -- hence the techproduct data, and the example queries for input like "elec" suggesting "electronics" no where on that page is an example using the query "kern" -- wether or not that input would return a suggestion is going to be entirely dependent on wether the dictionary you built contains any similar terms to suggest. if you can please post more details about your documents -- ideally a full set of all the documents in your index (using a small test index of course) that may help to understand the results you are getting. : Date: Thu, 22 Jan 2015 11:14:43 -0500 (EST) : From: Charles Sanders <csand...@redhat.com> : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: Suggester Example In Documentation Not Working : : Attempting to follow the documentation found here: : https://cwiki.apache.org/confluence/display/solr/Suggester : : The example given in the documentation is not working. See below my configuration. I only changed the field names to those in my schema. Can anyone provide an example for this component that actually works? : : <searchComponent name="suggest" class="solr.SuggestComponent"> : <lst name="suggester"> : <str name="name">mySuggester</str> : <str name="lookupImpl">FuzzyLookupFactory</str> : <str name="dictionaryImpl">DocumentDictionaryFactory</str> : <str name="field">sugg_allText</str> : <str name="weightField">suggestWeight</str> : <str name="suggestAnalyzerFieldType">string</str> : </lst> : </searchComponent> : : <requestHandler name="/suggest" class="solr.SearchHandler" startup="lazy"> : <lst name="defaults"> : <str name="suggest">true</str> : <str name="suggest.count">10</str> : <str name="suggest.build">true</str> : </lst> : <arr name="components"> : <str>suggest</str> : </arr> : </requestHandler> : : <field name="sugg_allText" type="string" indexed="true" multiValued="true" stored="false"/> : <field name="suggestWeight" type="long" indexed="true" stored="true" default="1" /> : : : http://localhost:8888/solr/collection1/suggest?suggest=true&suggest.build=true&suggest.dictionary=mySuggester&wt=json&suggest.q=kern : : {"responseHeader":{"status":0,"QTime":4},"command":"build","suggest":{"mySuggester":{"kern":{"numFound":0,"suggestions":[]}}}} : -Hoss http://www.lucidworks.com/