On Sep 23, 2008, at 12:35 PM, Gregg wrote:

I've got a small configuration question. When posting docs via SolrJ, I get
the following warning in the Solr logs:

WARNING: The @Deprecated SolrUpdateServlet does not accept query parameters:
wt=xml&version=2.2
If you are using solrj, make sure to register a request handler to / update
rather then use this servlet.
Add: <requestHandler name="/update" class="solr.XmlUpdateRequestHandler" >
to your solrconfig.xml

I have an update handler configured in solrconfig.xml as follows:

<requestHandler name="/update" class="solr.XmlUpdateRequestHandler" />


are you sure?

check http://localhost:8983/solr/admin/stats.jsp
and search for XmlUpdateRequestHandler
make sure it is registered to /update


What's the preferred solution? Should I comment out the SolrUpdateServlet in
solr's web.xml? My Solr server is running at /solr, if that helps.


that will definitely work, but it should not be necessary to crack open the .war file.


ryan

Reply via email to