[ 
https://issues.apache.org/jira/browse/SOLR-5637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876798#comment-13876798
 ] 

Shikhar Bhushan edited comment on SOLR-5637 at 1/20/14 7:54 PM:
----------------------------------------------------------------

Works in the distrib case now, though end up getting aggregate numbers out via 
{{DebugComponent#merge()} -- an enhancement might be to make the stats be part 
of the 'track' response from shards.


was (Author: shikhar):
works in the distrib case now

> 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
>         Attachments: SOLR-5367.patch, SOLR-5367.patch
>
>
> 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