[ 
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

New patch which fixes the definition of the miss count and adds some other 
useful statistics, I think it's ready:

 * statistics about reads:
 ** hit count: number of lookups that found a DocIdSet
 ** miss count: number of lookups that did NOT find a DocIdSet
 ** total count: number of lookups, the sum of the two above numbers
 * statistics about writes:
 ** cache count: number of generated cache entries
 ** eviction count: number of evicted cache entries
 ** cache size: number of entries in the cache, equal to the {{cache count}} 
minus the {{eviction count}}

> 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, LUCENE-6107.patch, 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

Reply via email to