lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe (JIRA) <j...@apache.org>
Subject [jira] [Updated] (SOLR-3774) /admin/mbean returning duplicate search handlers with names that map to their classes?
Date Fri, 22 Mar 2013 12:15:17 GMT

     [ https://issues.apache.org/jira/browse/SOLR-3774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tomás Fernández Löbbe updated SOLR-3774:
----------------------------------------

    Attachment: SOLR-3774.patch

This fixes the issue. I chose not to modify the RequestHandler interface to add a "setName"
method because I think it may be too much impact for this issue, Instead of it I edited the
RequestHandlerBase class, but because of that I had to do some instanceofs to set the name.
I'm open to other opinions on that. 
The RH are still being registered twice now, but now with the same name, not sure if we should
change that because there is no real impact. 
                
> /admin/mbean returning duplicate search handlers with names that map to their classes?
> --------------------------------------------------------------------------------------
>
>                 Key: SOLR-3774
>                 URL: https://issues.apache.org/jira/browse/SOLR-3774
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>         Attachments: SOLR-3774.patch
>
>
> Offshoot of SOLR-3232...
> bq. Along with some valid entries with names equal to the request handler names (/get
search /browse) it also turned up one with the name "org.apache.solr.handler.RealTimeGetHandler"
and another with the name "org.apache.solr.handler.component.SearchHandler"
> ...seems that we may have a bug with request handlers getting registered multiple times,
once under their "real" name and once using their class?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message