On 10/13/2014 12:54 AM, SolrUser1543 wrote:
> I want to monitor my solr cache efficiency  :
> Filter cache , queryresultcache, fieldvaluecache. 
> 
> This information available on plugin/stats page for specific core. 
> 
> How can I get this information via Rest ? 

The same way the admin UI does.  You can see this for yourself if you
grab a packet capture from your client when you navigate to the
statistics.  Here's the URL that the admin UI uses:

http://server:port/solr/corename/admin/mbeans?stats=true

You can add things like &wt=json to change the output format from the
default of XML.  You might want to also add &indent=true to the URL, at
least while you're working on the code.  Once the code works, indenting
is not needed and just makes the response larger.

If you're using SolrJ, investigate the NamedList#findRecursive method.

Thanks,
Shawn

Reply via email to