Yes, my application is in Java, no I cannot switch to SolrJ because I'm
working off legacy code for which I don't have the luxury to refactor..

If my application is sending the wrong Content-Type HTTP header, which part
is it and why the same header is working for the other query paths
such as: "/solr/db/config/requestHandler?wt=xml"
or "/solr/db/schema/fieldtypes/?wt=xml" or "/solr/db/schema/fields/?wt=xml"
?

Steve

On Mon, Aug 3, 2015 at 2:10 PM, Shawn Heisey <apa...@elyograg.org> wrote:

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

Reply via email to