Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7062

PointValues should expose additional stats

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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.

        Attachments

        1. LUCENE-7062.patch
          44 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: