Re: response status: error 400

2009-10-22 Thread Chris Hostetter
: I am pretty sure the url is no problem. The query syntax has a : problem, so it returns 400. I just want to grab that value. When Solr encounters an error, it returns the status code and error message w/o specifying any sort of error page. The servlet container (jetty, resin, tomcat, etc...)

Re: response status: error 400

2009-10-22 Thread Elaine Li
Thanks. I am pretty sure the url is no problem. The query syntax has a problem, so it returns 400. I just want to grab that value. On Thu, Oct 22, 2009 at 4:50 AM, James liu wrote: > Are you sure the url is correct? > > > -- > regards > j.L ( I live in Shanghai, China) >

Re: response status: error 400

2009-10-22 Thread James liu
Are you sure the url is correct? -- regards j.L ( I live in Shanghai, China)

response status: error 400

2009-10-21 Thread Elaine Li
Hi, I am using Javascript and JSON to submit the solr query. I want to get the reponse status so if there is a 400 http error, i will issue an error instead of doing nothing which is very confusing to the user. Hope I can even grab the message body. How do i do that? Thanks. Elaine