[ https://issues.apache.org/jira/browse/LUCENE-6107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand updated LUCENE-6107: --------------------------------- Attachment: LUCENE-6107.patch Here is a patch tha adds 3 metrics to LRUFilterCache: - #getTotalCount: total number of lookups in the cache - #getHitCount: number of successful lookups in the cache - #getMissCount: number of computed cache entries > Add statistics to LRUFilterCache > -------------------------------- > > Key: LUCENE-6107 > URL: https://issues.apache.org/jira/browse/LUCENE-6107 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Adrien Grand > Assignee: Adrien Grand > Priority: Minor > Attachments: LUCENE-6107.patch > > > It would be useful to have statistics about the usage of the filter cache to > figure out whether the cache is useful at all and to help tune filter caching > policies. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org