Hi, 
I am using the default example in the latest stable build
(apache-solr-4.0-2011-01-23_11-24-01). 

I read the wiki on http://wiki.apache.org/solr/Suggester and my expectation
is that suggester would correct terms in addition to completing terms.
The handler for suggest is configured with spellcheck as true.

<requestHandler class="org.apache.solr.handler.component.SearchHandler"
name="/suggest">
    <lst name="defaults">
      <str name="spellcheck">true</str>
      ..
</requestHandler>

However, the query http://localhost:8983/solr/suggest?q=belkn%20enc
returns <str name='collation'>belkn encoded</str> (belkn is not corrected to
belkin).

The spellchecker component corrects belkn to belkin though.
http://localhost:8983/solr/spell?q=belkn%20encoded&spellcheck=true&spellcheck.collate=true&spellcheck.build=true
<str name='collation'>belkin encoded</str>

Would really appreciate any input on how suggester can correct as well as
complete terms in the input.

Thanks
Madhu
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-suggester-and-spell-checker-tp2326907p2326907.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to