You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/07/08 09:29:35 UTC
[jira] [Commented] (SOLR-6229) Make SuggestComponent return 400
instead of 500 for bad dictionary selected in request
[ https://issues.apache.org/jira/browse/SOLR-6229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054602#comment-14054602 ]
ASF subversion and git services commented on SOLR-6229:
-------------------------------------------------------
Commit 1608680 from shalin@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1608680 ]
SOLR-6229: Make SuggestComponent return 400 instead of 500 for bad dictionary selected in request
> Make SuggestComponent return 400 instead of 500 for bad dictionary selected in request
> --------------------------------------------------------------------------------------
>
> Key: SOLR-6229
> URL: https://issues.apache.org/jira/browse/SOLR-6229
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.9, 5.0
> Reporter: Tomás Fernández Löbbe
> Priority: Minor
> Attachments: SOLR-6229.patch
>
>
> Right now, when a dictionary that doesn't exist is selected using "suggest.dictionary", or when no dictionary is selected and there is no default, the SuggestComponent throws an IllegalArgumentException, which then translate into a 500 - Service Error. This should be a 400.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org