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

OneDimensionBKDWriter valueCount validation didn't include leafCount

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 7.5, 9.0
    • 8.1, 9.0
    • core/other
    • None
    • 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

            Unassigned Unassigned
            jasonstack Zhao Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: