[jira] [Created] (LUCENE-8765) OneDimensionBKDWriter valueCount validation didn't include leafCount

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (LUCENE-8765) OneDimensionBKDWriter valueCount validation didn't include leafCount

JIRA jira@apache.org
ZhaoYang created LUCENE-8765:
--------------------------------

             Summary: OneDimensionBKDWriter valueCount validation didn't include leafCount
                 Key: LUCENE-8765
                 URL: https://issues.apache.org/jira/browse/LUCENE-8765
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/other
    Affects Versions: 7.5, master (9.0)
            Reporter: ZhaoYang


{{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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]