Am 21.09.2010 um 21:58 schrieb Ingo Renner:

Hi there,

for the sake of documenting how to do this for those interested in the same 
stuff...

> Is there any other URL I could query or am I missing something in my plugin 
> to make it show up there?

in your QParserPlugin class simply implement interface SolrInfoMBean. My 
getCategory() method is like this:

  public Category getCategory() {
    return SolrInfoMBean.Category.OTHER;
  }

then in method createParser() add the following:

req.getCore().getInfoRegistry().put(getName(), this);

this will make your plugin show up at http://host/solr/admin/plugins under the 
"OTHER" category.
I wonder though whether it'd be useful if Solr QParserPlugin did implement 
SolrInfoMBean by default already...


best
Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2, Admin Google Summer of Code

TYPO3 Enterprise Content Management System
http://typo3.org






Reply via email to