You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Dyer, James" <Ja...@ingrambook.com> on 2011/09/01 21:16:21 UTC

RE: Context-Sensitive Spelling Suggestions & Collations

The changes to DirectSpellChecker are included in SOLR-2585 patch, which I sync'ed to the current Trunk today.  So all you have to do is apply the patch, build and then add the 1-2 new parameters to your query:

- spellcheck.alternativeTermCount - the # of suggestions you want to generate on terms that were found in the index (set greater to 0).

- spellcheck.maxResultsForSuggest - the max # of query results to disable spellingcheck (normally you'd want 0 for regular spellchecking and something >0 to generate "did you mean" suggestions) ... 0 is the default.

If you do try this patch out, please let us know how it works out and also any suggestions you have for improving it.  Solr's current inability to consider fixes for words appearing in the index is to me a significant functionality gap.  I would love to see something like this eventually added to the product so any feedback you can give is appreciated.  Thanks.

James Dyer
E-Commerce Systems
Ingram Content Group
(615) 213-4311


-----Original Message-----
From: O. Klein [mailto:klein@octoweb.nl] 
Sent: Tuesday, August 30, 2011 8:45 AM
To: solr-user@lucene.apache.org
Subject: Context-Sensitive Spelling Suggestions & Collations

Using the DirectSolrSpellChecker im very interested in this.

According to https://issues.apache.org/jira/browse/SOLR-2585 some changes
need to be made to DirectSolrSpellChecker.

Does anybody know how to get this working?

--
View this message in context: http://lucene.472066.n3.nabble.com/Context-Sensitive-Spelling-Suggestions-Collations-tp3295570p3295570.html
Sent from the Solr - User mailing list archive at Nabble.com.