[
https://issues.apache.org/jira/browse/LUCENE-7062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15176866#comment-15176866
]
Robert Muir commented on LUCENE-7062:
-------------------------------------
I love how much better checkindex gets here. Can we also assert in checkindex
(and maybe assertingXXX) that getDocCount <= maxDoc?
> 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]