You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2014/09/10 22:53:34 UTC

[jira] [Commented] (SOLR-6499) Log warning about multiple update request handlers

    [ https://issues.apache.org/jira/browse/SOLR-6499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129079#comment-14129079 ] 

Hoss Man commented on SOLR-6499:
--------------------------------

This is because the "/update" handler was made implicit SOLR-6302 (so even if it's not in your solrconfig.xml, it will be created) but was also left in the example solrconfig.xml (for the reasons noted in the SOLR-6302 comments.

----

In general the problem is that since we now have implicit request handlers, we need to update the existing logic in RequestHandlers.java that checks for redundant handler definitions to be smart enough to know the difference between two handlers defined in solrconfig.xml with the same name, and a handler defined in solrconfig.xml which is intended to override an implicit handler.

> Log warning about multiple update request handlers
> --------------------------------------------------
>
>                 Key: SOLR-6499
>                 URL: https://issues.apache.org/jira/browse/SOLR-6499
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.10
>            Reporter: Andreas Hubold
>            Priority: Minor
>
> Solr 4.10.0 logs the following warning upon startup:
> {noformat}
> WARN  - 2014-09-09 17:49:11.455; org.apache.solr.core.RequestHandlers; Multiple requestHandler registered to the same name: /update ignoring: org.apache.solr.handler.UpdateRequestHandler
> {noformat}
> I've just started the Solr example with {{bin/solr start}} to get this warning in {{example/logs/solr.log}}
> I don't know if this indicates a real problem but it seems everything works fine despite the warning.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org