lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SpellCheckComponent" by ShalinMangar
Date Mon, 14 Dec 2009 09:27:05 GMT
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.
The comment on this change is: Added note on distributed setups.
http://wiki.apache.org/solr/SpellCheckComponent?action=diff&rev1=39&rev2=40

--------------------------------------------------

  
  The existing converter uses a relatively simple Regex to extract out the basic query terms
from a query and create tokens from them.
  
+ <<Anchor(distributed)>>
+ = Distributed Search Support =
+ 
+ <!> [[Solr1.5]]
+ 
+ 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
+ 
+ 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
+ }}}
+ 
+ If SpellCheckComponent is added to the /select request handler, then the "shards.qt" parameter
is not required.
+ 
+ In case of a distributed request to SpellCheckComponent, the shards are requested for at
least five suggestions even if "spellcheck.count" is less than five. Once the suggestions
are collected, they are ranked by the configured distance measure (default is Levenstein Distance)
and then by aggregate frequency.
  
  = History =
  For discussion of the development of this feature, see [[https://issues.apache.org/jira/browse/SOLR-572|SOLR-572]].

Mime
View raw message