On 06.04.2010 17:49 Alexander Rothenberg wrote: > On Monday 05 April 2010 20:14:44 Chris Hostetter wrote: >> define "crashes" ? ... presumabl you are tlaking about the client crashing >> because it can't parse theerro response, correct? ... the best suggestion >> given the current state of Solr is to make hte client smart enough to not >> attempt parsing of hte response unless the response code is 200. > > Yes, it tries to parse the HTML-output but exspecting JSON syntax. Because it > is a perl-mod from CPAN, i dont really want to customize it...
You don't have to. Just wrap the call in an eval, at least that is what I do. -Michael