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

PointValues should expose additional stats

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: