[
https://issues.apache.org/jira/browse/SOLR-694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622146#action_12622146
]
Shalin Shekhar Mangar commented on SOLR-694:
--------------------------------------------
Better yet, go for sane defaults.
If no QueryConverter is defined in the configuration then log a warning and use
the SpellingQueryConverter (the only one supplied by Solr as of now).
> error message is misleading when 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
> Priority: Trivial
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.