You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2008/08/13 13:06:45 UTC
[jira] Resolved: (SOLR-694) Use SpellingQueryConverter as default
if there is no queryconverter defined
[ https://issues.apache.org/jira/browse/SOLR-694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar resolved SOLR-694.
----------------------------------------
Resolution: Fixed
Committed revision 685512.
Thanks Stefan!
> Use SpellingQueryConverter as default if there is no queryconverter defined
> ---------------------------------------------------------------------------
>
> Key: SOLR-694
> URL: https://issues.apache.org/jira/browse/SOLR-694
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 1.3
> Reporter: Stefan Oestreicher
> Assignee: Shalin Shekhar Mangar
> Priority: Trivial
> Fix For: 1.3
>
> Attachments: SOLR-694.patch
>
>
> the relevant code (org.apache.solr.handler.component.SpellCheckComponent) only checks if the size of the queryConverters map equals 1 and throws a RuntimeException with the message "One and only one queryConverter may be defined" if it does not.
> But if there are no query converters defined this message is quite misleading.
> Use the SpellingQueryConverter as the default if none are defined in the configuration instead of a misleading error message.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.