lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregg <gregg...@gmail.com>
Subject Re: SolrUpdateServlet Warning
Date Tue, 23 Sep 2008 20:15:36 GMT
This turned out to be a fairly pedestrian bug on my part: I had "/update"
appended to the Solr base URL when I was adding docs via SolrJ.

Thanks for the help.

--Gregg

On Tue, Sep 23, 2008 at 12:42 PM, Ryan McKinley <ryantxu@gmail.com> wrote:

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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message