Re: Returning errors from request handler

2007-07-29 Thread Chris Hostetter
: > Is there a way to get a return like: : > : > : > : > 1blah, blah, : > blah0 : > see also SOLR-141 ... I'd really like it if eventually ResponseWriters were delegatred to for formatting error messages in the appropriate format, it's just never been a high priority -- but patches are always w

Re: Returning errors from request handler

2007-07-26 Thread Ryan McKinley
Nice, valid xml. But If I have an error (for example, ) I get an HTML page back. In 1.2, if you map /update to the XmlUpdateHandler in solrconfig.xml, errors are returned with an HTTP status error (ie, something != 200) + message. Your servlet runner (Jetty, Tomcat, etc) will format this as