[jira] [Updated] (LUCENE-4859) Expose more stats on IndexReader

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Updated] (LUCENE-4859) Expose more stats on IndexReader

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/LUCENE-4859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shai Erera updated LUCENE-4859:

    Attachment: LUCENE-4859.patch

You're right! Patch removes from Filter and makes final on AR. I think it's ready?

> Expose more stats on IndexReader
> --------------------------------
>                 Key: LUCENE-4859
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4859
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>         Attachments: LUCENE-4859.patch, LUCENE-4859.patch
> IndexReader exposes stats like totalTermFreq(term) and docFreq(term). I'd like to add more stats from Terms, e.g. getDocCount/getSumDocFreq/getSumTotalTermFreq(field) for convenience. The implementation is very easy to do on CompositeReader, so I'll add these impls to BaseCompositeReader. I'll attach a patch shortly.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]