Correction:

> Except FacetComponent, HighlightComponent for example, if I use a bad regex 
> pattern
> for RegexFragmenter, HighlightComponent throws an exception then Solr return 
> 400.

Solr returns 500 in this case actually. I think it should be 400 (bad request).

koji
-- 
Check out "Query Log Visualizer"
http://www.rondhuit-demo.com/loganalyzer/loganalyzer.html
http://www.rondhuit.com/en/


(11/07/29 1:18), Koji Sekiguchi wrote:
> If I got an exception during faceting (e.g. undefined field), Solr doesn't
> return HTTP 400 but 200 with the exception stack trace in<arr 
> name="exception">
> ...</arr>  tag. Why is it implemented so? I checked Solr 1.1 and saw the same 
> behavior.
> 
> Except FacetComponent, HighlightComponent for example, if I use a bad regex 
> pattern
> for RegexFragmenter, HighlightComponent throws an exception then Solr return 
> 400.
> 
> Thank you!
> 
> koji


Reply via email to