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

PointValues aggregated stats fail if the provided field does not have points on one of the leaves

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 6.0.1, 6.1, 7.0
    • None
    • None
    • New

    Description

      The static helpers on PointValues to get aggregated size/docCount/minPackedValue/maxPackedValue fail if a leaf has points indexed (so that getPointValues() returns a non-null value) but not for the given field. In that case PointValues.size() throws an exception.

      Attachments

        1. LUCENE-7257.patch
          7 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: