lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Commit Tag Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4859) Expose more stats on IndexReader
Date Wed, 20 Mar 2013 16:45:23 GMT

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

Commit Tag Bot commented on LUCENE-4859:
----------------------------------------

[trunk commit] Shai Erera
http://svn.apache.org/viewvc?view=revision&revision=1458907

LUCENE-4859: Expose more stats on IndexReader

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


Mime
View raw message