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/07/11 16:59:44 UTC

[Solr Wiki] Update of "SpellCheckComponent" by JoshLincoln

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 JoshLincoln:
https://wiki.apache.org/solr/SpellCheckComponent?action=diff&rev1=63&rev2=64

Comment:
clarified behavior of maxResultsForSuggest based on description in SOLR-2585

  Only return suggestions that result in more hits for the query than the existing query. Note that even if the given query term is correct (i.e. present in the index), a more popular suggestion will be returned (if one exists).
  
  == spellcheck.maxResultsForSuggest ==
- The maximum number of results the query can return without triggering spelling suggestions (and collations, if using "spellcheck.collate").  When using "spellcheck.extendedResults", this value is also the threshold for determining if the "correctlySpelled" flag is false.  (If "spellcheck.maxResultsForSuggest" is not specified, the default behavior is to generate suggestions and to report "correctlySpelled" as "false" if at least 1 term is not in the index (Document Frequency == 0) regardless of the number of results returned.)  This parameter is especially useful in conjunction with "spellcheck.alternativeTermCount" to generate "Did You mean?"-style suggestions for low hit-count queries.  <!> [[Solr4.0]] See https://issues.apache.org/jira/browse/SOLR-2585
+ The maximum number of results the query can return while still triggering spelling suggestions (and collations, if using "spellcheck.collate"). Suggestions will not be generated if the query returns more results than this value.  When using "spellcheck.extendedResults", this value is also the threshold for determining if the "correctlySpelled" flag is false.  (If "spellcheck.maxResultsForSuggest" is not specified, the default behavior is to generate suggestions and to report "correctlySpelled" as "false" if at least 1 term is not in the index (Document Frequency == 0) regardless of the number of results returned.)  This parameter is especially useful in conjunction with "spellcheck.alternativeTermCount" to generate "Did You mean?"-style suggestions for low hit-count queries.  <!> [[Solr4.0]] See https://issues.apache.org/jira/browse/SOLR-2585
  
  == spellcheck.extendedResults ==
  Provide additional information about the suggestion, such as the frequency in the index.