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

Build point writers only when needed on the BKD tree

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.x, 9.0
    • None
    • None
    • New

    Description

      With the introduction of LUCENE-8699, I have realised the BKD tree uses quite a lot of heap even when it is not needed, for example for 1D points. 

      In this issue I propose to create point writers only when needed. In addition I propose to create PointWriters based on the estimated point count given in the constructor. 

      Attachments

        1. LatLonPointHEAP.png
          7 kB
          Ignacio Vera
        2. LUCENE-8703.patch
          16 kB
          Ignacio Vera
        3. LUCENE-8703.patch
          13 kB
          Ignacio Vera
        4. LUCENE-8703.patch
          13 kB
          Ignacio Vera

        Activity

          People

            ivera Ignacio Vera
            ivera Ignacio Vera
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: