Re: How do I get the solr error response as XML instead of HTML

2010-10-13 Thread Chris Hostetter
: 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

Re: How do I get the solr error response as XML instead of HTML

2010-10-07 Thread Otis Gospodnetic
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

Re: How do I get the solr error response as XML instead of HTML

2010-10-07 Thread Lance Norskog
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