MBean Request Handler
The MBean Request Handler offers programmatic access to the information provided on the Plugins & Stats Screen of the Admin UI.
The MBean Request Handler accepts the following parameters:
key
-
Optional
Default: none
Restricts results by object key.
cat
-
Optional
Default: none
Restricts results by category name.
stats
-
Optional
Default:
false
Specifies whether statistics are returned with results. You can override the
stats
parameter on a per-field basis. The default isfalse
. wt
-
Optional
Default:
json
The output format. This operates the same as the
wt
parameter in a query.
MBeanRequestHandler Examples
All of the examples in this section assume you are running the "techproducts" example.
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 XML:
http://localhost:8983/solr/techproducts/admin/mbeans?stats=true&cat=CACHE&wt=xml
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