You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2014/12/11 18:22:13 UTC

[jira] [Updated] (LUCENE-6107) Add statistics to LRUFilterCache

     [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org