You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2013/05/29 19:45:01 UTC

[Solr Wiki] Update of "SpellCheckComponent" by ShalinMangar

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SpellCheckComponent" page has been changed by ShalinMangar:
https://wiki.apache.org/solr/SpellCheckComponent?action=diff&rev1=62&rev2=63

Comment:
Add leading slash in example with shards.qt

  SpellCheckComponent now supports distributed setups. If you are using SpellCheckComponent on a request handler other than "/select", then you need to provide the following two parameters:
  
   * "shards" - See DistributedSearch
-  * "shards.qt" - Signals Solr that requests to shards should be sent to a request handler given by this parameter
+  * "shards.qt" - Signals Solr that requests to shards should be sent to a request handler given by this parameter. Use shards.qt=/spell when making the request if your request handler is "/spell".
  
  For example:
  
  {{{
- 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
+ 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
  }}}
  If SpellCheckComponent is added to the /select request handler, then the "shards.qt" parameter is not required.