You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2016/03/03 01:56:18 UTC

[jira] [Commented] (LUCENE-7062) PointValues should expose additional stats

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