hi all,
I follow the wiki http://wiki.apache.org/solr/SpellCheckComponent
but there is something wrong.
the url given my the wiki is
http://solr:8983/solr/select?q=*:*&spellcheck=true&spellcheck.build=true&spellcheck.q=toyata&qt=spell&shards.qt=spell&shards=solr-shard1:8983/solr,solr-shard2:8983/solr
but it does not work. I trace the codes and find that
qt=spell&shards.qt=spell should be qt=/spell&shards.qt=/spell
After modification of url, It return all documents but nothing
about spell check.
I debug it and find the
AbstractLuceneSpellChecker.getSuggestions() is called.