Re: ConcurrentUpdateSolrServer update response doesn't reflect correct response status

2017-02-13 Thread Lasitha Wattaladeniya
ven if I add a single document, the response > > doesn't reflect the correct response status. From the given solr console > > ui, it shows status 400 for the bad requests (when I try to index > document > > with no fields ). But when I do the same using solrj, > respons

Re: ConcurrentUpdateSolrServer update response doesn't reflect correct response status

2017-02-13 Thread Shawn Heisey
On 2/12/2017 10:51 PM, Lasitha Wattaladeniya wrote: > Thanks for the reply. But even if I add a single document, the response > doesn't reflect the correct response status. From the given solr console > ui, it shows status 400 for the bad requests (when I try to index document &g

Re: ConcurrentUpdateSolrServer update response doesn't reflect correct response status

2017-02-12 Thread Lasitha Wattaladeniya
Hi Eric, Thanks for the reply. But even if I add a single document, the response doesn't reflect the correct response status. From the given solr console ui, it shows status 400 for the bad requests (when I try to index document with no fields ). But when I do the same using solrj, res

Re: ConcurrentUpdateSolrServer update response doesn't reflect correct response status

2017-02-12 Thread Erick Erickson
Closest that I know of is: https://issues.apache.org/jira/browse/SOLR-445, available since Solr 6.1 Best, Erick On Sun, Feb 12, 2017 at 8:05 PM, Lasitha Wattaladeniya wrote: > Hi devs, > > I'm using the ConcurrentUpdateSolrServer to add some documents to solr. > While I'm doing so I see some 'ba

ConcurrentUpdateSolrServer update response doesn't reflect correct response status

2017-02-12 Thread Lasitha Wattaladeniya
Hi devs, I'm using the ConcurrentUpdateSolrServer to add some documents to solr. While I'm doing so I see some 'bad request" errors printed in the console due to incorrect solrinputdocuments. The issue is I can't capture this issue by reading updateresonse status. I saw some one had stated that

Re: Solr query - response status

2016-07-22 Thread Shyam R
Thanks Shawn for your insight! On Fri, Jul 22, 2016 at 6:32 PM, Shawn Heisey wrote: > On 7/22/2016 12:41 AM, Shyam R wrote: > > I see that SOLR returns status value as 0 for successful searches > > org.apache.solr.core.SolrCore; [users_shadow_shard1_replica1] > > webapp=/solr path=/user/ping par

Re: Solr query - response status

2016-07-22 Thread Shawn Heisey
On 7/22/2016 12:41 AM, Shyam R wrote: > I see that SOLR returns status value as 0 for successful searches > org.apache.solr.core.SolrCore; [users_shadow_shard1_replica1] > webapp=/solr path=/user/ping params={} status=0 QTime=0 I do see that > the status come's back as 400 whenever the search is in

Solr query - response status

2016-07-21 Thread Shyam R
All, I see that SOLR returns status value as 0 for successful searches org.apache.solr.core.SolrCore; [users_shadow_shard1_replica1] webapp=/solr path=/user/ping params={} status=0 QTime=0 I do see that the status come's back as 400 whenever the search is invalid ( invoking query with parameters

Re: Response status

2012-01-31 Thread Jens Ellenberg
gt; >> On Dec 4, 2008, at 9:32 AM, Robert Young wrote: > >> > >>> In the standard response format, what does the status mean? It > >>> always seems > >>> to be 0. > >>> > &g

Re: Response status

2012-01-31 Thread Erik Hatcher
then there was an error of some sort. >> >> Erik >> >> On Dec 4, 2008, at 9:32 AM, Robert Young wrote: >> >>> In the standard response format, what does the status mean? It >>> always seems >>> to be 0. >>> >>> Than

Re: Response status

2012-01-31 Thread Jens Ellenberg
n the standard response format, what does the status mean? It >> always seems >> to be 0. >> >> Thanks >> Rob > -- View this message in context: http://lucene.472066.n3.nabble.com/Response-status-tp490876p3702747.html Sent from the Solr - User mailing list archive at Nabble.com.

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

Re: Response status

2008-12-04 Thread Robert Young
Thanks On Thu, Dec 4, 2008 at 2:53 PM, Erik Hatcher <[EMAIL PROTECTED]>wrote: > It means the request was successful. If the status is non-zero (err, 1) > then there was an error of some sort. > >Erik > > > On Dec 4, 2008, at 9:32 AM, Robert Young wrote: > > In the standard response form

Re: Response status

2008-12-04 Thread Erik Hatcher
It means the request was successful. If the status is non-zero (err, 1) then there was an error of some sort. Erik On Dec 4, 2008, at 9:32 AM, Robert Young wrote: In the standard response format, what does the status mean? It always seems to be 0. Thanks Rob

Response status

2008-12-04 Thread Robert Young
In the standard response format, what does the status mean? It always seems to be 0. Thanks Rob