Shikhar Bhushan created SOLR-5637:
-------------------------------------

             Summary: Per-request cache statistics
                 Key: SOLR-5637
                 URL: https://issues.apache.org/jira/browse/SOLR-5637
             Project: Solr
          Issue Type: New Feature
            Reporter: Shikhar Bhushan
            Priority: Minor


We have found it very useful to have information on the number of cache hits 
and misses for key Solr caches (filterCache, documentCache, etc.) at the 
request level.

This is currently implemented in our codebase using custom {{SolrCache}} 
implementations.

I am working on moving to maintaining stats in the {{SolrRequestInfo}} 
thread-local, and adding hooks in get() methods of SolrCache implementations. 
This will be glued up using the {{DebugComponent}} and can be requested using a 
"debug.cache" parameter.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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

Reply via email to