What does the solr log say? I'd tail the Solr log while
sending the query, that'll do two things:

1> insure that your request is actually getting to the
Solr you expect.

2> the details in the solr log are often much more helpful
than what gets returned to the client.

Best,
Erick

On Tue, Nov 1, 2016 at 1:37 PM, Pablo Anzorena <anzorena.f...@gmail.com> wrote:
> Hey,
>
> I'm indexing a file with a delete query in xml format using the post.jar. I
> have two solrclouds, which apparently have all the same configurations. The
> thing is that I have no problem when indexing in one of them, but the other
> keeps giving me this error:
>
> SimplePostTool version 5.0.0
> Posting files to [base] url
> http://solr2:8983/solr/mycollection/update?separator=| using content-type
> application/xml...
> POSTing file delete_file.unl.tmp to [base]
> SimplePostTool: WARNING: Solr returned an error #405 (Method Not Allowed)
> for url: http://solr2:8983/solr/mycollection/update?separator=|
> SimplePostTool: WARNING: Response:
> <html><head><title>Error</title></head><body>HTTP method POST is not
> supported by this URL</body></html>
> SimplePostTool: WARNING: IOException while reading response:
> java.io.IOException: Server returned HTTP response code: 405 for URL:
> http://solr2:8983/solr/mycollection/update?separator=|
> 1 files indexed.
> Time spent: 0:00:00.253
>
> Do I need some extra configuration to support for xml updates?
>
> Thanks!

Reply via email to