lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <apa...@elyograg.org>
Subject Re: HTTP Error 500 on "/admin/ping" request
Date Mon, 03 Aug 2015 18:10:45 GMT
On 8/3/2015 11:34 AM, Steven White wrote:
> Hi Everyone,
>
> I cannot figure out why I'm getting HTTP Error 500 off the following code:

<snip>

> Ping query caused exception: Bad contentType for search handler
> :application/atom+xml

Your application is sending an incorrect Content-Type HTTP header that
Solr doesn't know how to handle.

If your application is Java, why are you not using SolrJ?  You'll likely
find that to be a lot easier to use than even a REST client.

Thanks,
Shawn


Mime
View raw message