It is because the exception happens inside a constructor - so it gets mapped to
a 500.
I tried to move the parsing from constructor to init() and then we get a proper
400 error
> HTTP ERROR 400 {metadata={error-class=org.apache.solr.common.SolrException,
> root-error-class=org.apache.solr.comm
Dear solr-dev,
when I make a request to an URI like /solr/my_core/query?q=%C0, I get a HTTP
500 status code with a stack trace originating at
org.apache.solr.common.SolrException: URLDecoder: Invalid character encoding
detected after position 2 of query string / form data (while parsing as UTF-