Dear Wiki user,

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

The following page has been changed by TristanVittorio:
http://wiki.apache.org/solr/SpellCheckerRequestHandler

The comment on the change is:
Added info about the "onlyMorePopular" parameter

------------------------------------------------------------------------------
  
  A float value between 1.0 and 0.0 on how close the suggested words should 
match the original word being checked (calculated using the 
[http://en.wikipedia.org/wiki/Levenshtein_distance Levenshtein distance] 
algorithm).  The default value is 0.5 but can be configured in SolrConfigXml.
  
+ === onlyMorePopular ===
+ 
+ When "onlyMorePopular" is set to true and the misspelled word exists in the 
user field, only words that occur more frequently in the termSourceField than 
the one given will be returned.  The default value is false.
+ 
  === cmd ===
  
  There are currently two supported values for cmd: 'rebuild' and 'reopen':
@@ -88, +92 @@

  A simple call to the spell check handler:
    http://localhost:8983/solr/select/?q=windaws&qt=spellchecker
  
+ Return a list of suggestions that appear more frequently in the 
termSourceField that the word 'aft'
+   
http://localhost:8983/solr/select/?q=aft&qt=spellchecker&onlyMorePopular=true
+ 
  Return 5 suggestions with a accuracy value of 0.7:
    
http://localhost:8983/solr/select/?q=linix&qt=spellchecker&suggestionCount=5&accuracy=0.7
  }}}

Reply via email to