Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
Description
When collapsing is specified on the undefined field then, the response returned has status 500 instead of 400.
This is because of wrapping of SolrException to RuntimeException
https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java#L377
Then in request handler base, all RuntimeException are converted to SolrException with status 500
Attachments
Attachments
Issue Links
- is duplicated by
-
SOLR-11965 collapse.field on an unsupported field should throw 400 bad request
- Closed