You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Li Li <fa...@gmail.com> on 2011/08/19 10:57:44 UTC

can't use distributed spell check

hi all,
    I tested it following the instructions in
http://wiki.apache.org/solr/SpellCheckComponent. but it seems something
wrong.
     the sample url in 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
    It can't work and I read the codes, it seems qt=/spell shards.qt=/spell
    After I modified the url, it search all the documents but without any
spell suggetions. I debuged it and found the method getSuggestions() in
AbstractLuceneSpellChecker are called.