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.