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

Improve GeoPointField type to only visit high precision boundary terms

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3, 6.0
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Current GeoPointField LUCENE-6450 computes a set of ranges along the space-filling curve that represent a provided bounding box. This determines which terms to visit in the terms dictionary and which to skip. This is suboptimal for large bounding boxes as we may end up visiting all terms (which could be quite large).

      This incremental improvement is to improve GeoPointField to only visit high precision terms in boundary ranges and use the postings list for ranges that are completely within the target bounding box.

      A separate improvement is to switch over to auto-prefix and build an Automaton representing the bounding box. That can be tracked in a separate issue.

        Attachments

        1. LUCENE-6481_WIP.patch
          37 kB
          Nicholas Knize
        2. LUCENE-6481.patch
          74 kB
          Nicholas Knize
        3. LUCENE-6481.patch
          30 kB
          Nicholas Knize
        4. LUCENE-6481.patch
          50 kB
          Nicholas Knize
        5. LUCENE-6481.patch
          49 kB
          Nicholas Knize
        6. LUCENE-6481.patch
          49 kB
          Nicholas Knize
        7. LUCENE-6481.patch
          50 kB
          Nicholas Knize
        8. LUCENE-6481.patch
          45 kB
          Nicholas Knize
        9. LUCENE-6481.patch
          46 kB
          Michael McCandless

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nknize Nicholas Knize
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: