I'm trying to get rid of the following warnings:

[2013-10-03 17:37:56.981] WARNING Using deprecated class: XmlUpdateRequestHandler -- replace with UpdateRequestHandler [2013-10-03 17:37:56.983] WARNING Using deprecated class: BinaryUpdateRequestHandler -- replace with UpdateRequestHandler

How do I actually configure UpdateRequestHandler as a substitute for these two handlers? Now I'm getting the following error when I'm starting Solr:

[2013-10-04 14:47:30.794] SEVERE org.apache.solr.common.SolrException: Unsupported ContentType: application/octet-stream Not in: [application/xml, text/csv, text/json, application/csv, application/javabin, text/xml, application/json] ...

Here's my new configuration for the old BinaryUpdateRequestHandler which does not work:
<requestHandler name="/update/javabin" class="solr.UpdateRequestHandler" >
  <lst name="defaults">
    <str name="df">content_no</str>
  </lst>
</requestHandler>

Erlend

Reply via email to