Hello! I'be been trying to enable Spellchecking using sharding following the steps from the Wiki, but I failed, :-( What I do is:
*Solrconfig.xml* <*searchComponent name="suggest"* class="solr.SpellCheckComponent"> <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">suggestion</str> <str name="buildOnOptimize">true</str> </lst> </searchComponent> <*requestHandler name="/suggest"* class="solr.SearchHandler"> <lst name="defaults"> <str name="df">suggestion</str> <str name="spellcheck">true</str> <str name="spellcheck.dictionary">suggest</str> <str name="spellcheck.count">10</str> </lst> <arr name="last-components"> <str>suggest</str> </arr> </requestHandler> *Note:* I have two shards (solr1 and solr2) and both have the same solrconfig.xml. Also, bot indexes were optimized to create the spellchecker indexes. *Query* solr1:8080/events/data/select?q=m&qt=/suggestion&shards.qt=/suggestion&wt=json&shards=solr1:8080/events/data,solr2:8080/events/data * * *Response* * * { - responseHeader: { - status: 404, - QTime: 12, - params: { - shards: "solr1:8080/events/data,solr2:8080/events/data", - shards.qt: "/suggestion", - q: "m", - wt: "json", - qt: "/suggestion" } }, - error: { - msg: "Server at http://solr1:8080/events/data returned non ok status:404, message:Not Found", - code: 404 } } More query syntaxes that I used and that doesn't work: http://solr1:8080/events/data/select?q=m&qt=suggestion&shards.qt=/suggestion&wt=json&shards=solr1:8080/events/data,solr2:8080/events/data<http://solrclusterd.buguroo.dev:8080/events/data/select?q=m&qt=suggestion&shards.qt=/suggestion&wt=json&shards=solrclusterd.buguroo.dev:8080/events/data,solrclusterc.buguroo.dev:8080/events/data> http://solr1:8080/events/data/select?q=*:*&spellcheck.q=m&qt=suggestion&shards.qt=/suggestion&wt=json&shards=solr1:8080/events/data,solr2:8080/events/data<http://solrclusterd.buguroo.dev:8080/events/data/select?q=*:*&spellcheck.q=m&qt=suggestion&shards.qt=/suggestion&wt=json&shards=solrclusterd.buguroo.dev:8080/events/data,solrclusterc.buguroo.dev:8080/events/data> Any idea of what I'm doing wrong? Thank you very much in advance! Best regards, -- - Luis Cappa