MBean Request Handler

The MBean Request Handler offers programmatic access to the information provided on the Plugin/Stats page of the Admin UI.

The MBean Request Handler accepts the following parameters:

Parameter Type Default Description

key

multivalued

all

Restricts results by object key.

cat

multivalued

all

Restricts results by category name.

stats

boolean

false

Specifies whether statistics are returned with results. You can override the stats parameter on a per-field basis.

wt

multivalued

xml

The output format. This operates the same as the wt parameter in a query.

Examples

The following examples assume you are running Solr’s techproducts example configuration:

bin/solr start -e techproducts

To return information about the CACHE category only:

http://localhost:8983/solr/techproducts/admin/mbeans?cat=CACHE

To return information and statistics about the CACHE category only, formatted in JSON:

http://localhost:8983/solr/techproducts/admin/mbeans?stats=true&cat=CACHE&indent=true&wt=json

To return information for everything, and statistics for everything except the fieldCache:

http://localhost:8983/solr/techproducts/admin/mbeans?stats=true&f.fieldCache.stats=false

To return information and statistics for the fieldCache only:

http://localhost:8983/solr/techproducts/admin/mbeans?key=fieldCache&stats=true