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

OneDimensionBKDWriter valueCount validation didn't include leafCount

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment