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

2017-02-13 Thread Lasitha Wattaladeniya
Hi Shawn, Thanks for the detailed explanation, really informative. However after further analyzing I found that I can use HttpSolrServer instead of ConcurrentUpdateSolrServer, I'm handling the concurrency by my self. But the issue with ConcurrentUpdateSolrServer is still there, seem like an

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 > with no fields

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, response

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

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