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

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

     [ https://issues.apache.org/jira/browse/LUCENE-7062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated LUCENE-7062:
---------------------------------------
    Attachment: LUCENE-7062.patch

Straightforward patch.

I fixed Lucene60 and SimpleText to save the two new stats per field, and fixed CheckIndex to check them.  I also fixed CheckIndex to check the global per-field min/max stats.

> 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