: solr errors come back as HTML instead of XM or JSON
:
: Is it possible to get the response to come back as XML or JSON, or at
: least something I could show to an end user?
At the moment, Solr just relies on the Servlet Container to generate the
error response, so you'd have to customize it at
K
> To: solr-user@lucene.apache.org
> Sent: Thu, October 7, 2010 8:07:35 PM
> Subject: How do I get the solr error response as XML instead of HTML
>
> solr errors come back as HTML instead of XM or JSON
>
> Is it possible to get the response to come back as XML or JSON, or
You are using the standard parser. The Dismax parser is intended to
accept just about any input string and do something understandable
with it. Dismax is the usual parser for user queries, and Standard is
the usual for complex generated queries.
On Thu, Oct 7, 2010 at 5:07 PM, Scott K wrote:
> so
solr errors come back as HTML instead of XM or JSON
Is it possible to get the response to come back as XML or JSON, or at
least something I could show to an end user?
Is there a way to tell solr to ignore unparseable terms and still
return a result, ideally with a warning so the end user doesn't