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

Robert Muir commented on LUCENE-7062:
-------------------------------------

and asserting can also check the values are positive (i know one is written 
with vInt)

> PointValues should expose additional stats
> ------------------------------------------
>
>                 Key: LUCENE-7062
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7062
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: master, 6.0
>
>         Attachments: LUCENE-7062.patch
>
>
> There are two useful stats exposed by postings that are easy to also expose 
> in points: {{size}}, which is the total number of points indexed, and 
> {{getDocCount}}, which is the total number of documents that have at least 
> one point.
> Like the other point values API fixes, I think we should do this for 6.0, 
> since otherwise if we add it later we'll have to annoyingly handle the "-1" 
> back compat case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to