lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7062) PointValues should expose additional stats
Date Thu, 03 Mar 2016 00:56:18 GMT

    [ 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


Mime
View raw message