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

Uwe Schindler edited comment on LUCENE-7736 at 4/11/17 8:15 AM:
----------------------------------------------------------------

Sorry, those methods are global (on IndexReader, so also composites). So 
LeafReader is the wrong place. Nuke my comment.

-Nevertheless the {{IndexReaderFunctions}} class should be final and have 
private ctor.- Did not find the ctor, as it was at the very end.


was (Author: thetaphi):
Sorry, those methods are global (on IndexReader, so also composites). So 
LeafReader is the wrong place. Nuke my comment.

Nevertheless the {{IndexReaderFunctions}} class should be final and have 
private ctor.

> Expose some IndexReader stats via DoubleValuesSources
> -----------------------------------------------------
>
>                 Key: LUCENE-7736
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7736
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Minor
>         Attachments: LUCENE-7736.patch, LUCENE-7736.patch
>
>
> We have a number of ValueSource implementations that expose IndexReader stats 
> (numDocs, termFreq, etc).  We should re-implement these as 
> DoubleValuesSources, allowing them to be used in FunctionScoreQuery, etc.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to