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

Change spatial RPT default prefixGridScanLevel

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: modules/spatial
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      The "prefixGridScanLevel" tuning knob of RPT was shown to work pretty well based on benchmarking many years ago against point data. It defaults to 4 up from the max levels in the tree. However for non-point data, I've seen a benchmark where it's default setting hurt a ton. Setting it to a large number like 100 (anything >= maxLevels) effectively disables it. We should pick the default based on the "pointsOnly" property of RPT – if you set pointsOnly you get the current default (scan the bottom 4 levels) otherwise you only scan the bottom level.

      In addition, it's worth reviewing what gains there are for point-only data. Some testing of FlexPrefixTree last summer of point data showed it didn't seem to have much affect. But I'd like to investigate more rigorously as that wasn't primarily what we were looking for.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dsmiley David Smiley
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: