lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-6229) Make SuggestComponent return 400 instead of 500 for bad dictionary selected in request
Date Tue, 08 Jul 2014 07:31:35 GMT

     [ https://issues.apache.org/jira/browse/SOLR-6229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shalin Shekhar Mangar resolved SOLR-6229.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.10
                   5.0
         Assignee: Shalin Shekhar Mangar

Thanks Tomás!

> 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
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 5.0, 4.10
>
>         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


Mime
View raw message