: 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
Scott,
Regarding unparseable terms - I think even edismaxc query parser is more
forgiving that the standard one, but if that is not the case, one can always
build a custom query parser that is more forgiving regarding invalid query
string syntax.
Re HTML response - I'm guessing you are seeing
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