I am using SOLR 1.3 I wanted to add spellcheck component to to standard request handler it so did this <requestHandler name="standard" class="solr.SearchHandler" default="true"> <!-- default values for query parameters --> <lst name="defaults"> <str name="echoParams">explicit</str> <arr name="last-components"> <str>spellcheck</str> </arr> </lst> </requestHandler>
but for some reason it does not return suggestion for misspelled words. For instance iphole does not get a suggestion of iphone. here is my query http://localhost:10101/solr/core1/select?q=user_query:iphole&spellcheck=true&spellcheck.collate=true At the same time when I added another request handler <requestHandler name="/spell" class="solr.SearchHandler" lazy="true"> <lst name="defaults"> <!-- omp = Only More Popular --> <str name="spellcheck.onlyMorePopular">false</str> <!-- exr = Extended Results --> <str name="spellcheck.extendedResults">false</str> <!-- The number of suggestions to return --> <str name="spellcheck.count">1</str> </lst> <arr name="last-components"> <str>spellcheck</str> </arr> </requestHandler> it works fine and returns suggestion here is my query http://localhost:10101/solr/core1/spell?q=iphole&spellcheck=true&spellcheck.collate=true Any thoughts why it is not working? -- View this message in context: http://lucene.472066.n3.nabble.com/spellcheck-component-does-not-work-with-request-handler-tp1786079p1786079.html Sent from the Solr - User mailing list archive at Nabble.com.