Hi,
I do not use spell but I use distributed search, using qt=spell is correct,
should not use qt=\spell.
For "shards", I specify it in solrconfig directly, not in url, but should
work the same.
Maybe an issue in your spell request handler.


2011/8/19 Li Li <fancye...@gmail.com>

> 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.
>

Reply via email to