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 <doc></doc>). But when I do the same using solrj, response
is 0 eventhough the console prints it as a bad request with status 400.
P.S: I'm using solrj 4.10.4
Regards,
Lasitha
On 13 Feb 2017 13:33, "Erick Erickson" <erickerickson@gmail.com> wrote:
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
<wattale@gmail.com> wrote:
> 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 this is due to ConcurrentUpdateSolrServer
> uses a queue to buffer the documents and then later call update method.
>
> Isn't there any way to capture the correct response?
>
> Regards,
> Lasitha
|