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

OneDimensionBKDWriter valueCount validation didn't include leafCount

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.5, master (9.0)
    • Fix Version/s: 8.1, master (9.0)
    • Component/s: core/other
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      OneDimensionBKDWriter#add checks if valueCount exceeds predefined totalPointCount, but valueCount is only updated for every 1024(DEFAULT_MAX_POINTS_IN_LEAF_NODE) points.

      We should include leafCount for validation.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jasonstack ZhaoYang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: