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

explore two-phase iteration for GeoPoint query

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5, 6.0
    • Component/s: modules/spatial
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This query today uses an approximation+confirm approach, but it all happens when you call scorer(), in a termsEnum loop.

      This causes several problems (even after https://issues.apache.org/jira/browse/LUCENE-7018) because it can do too much work, if queries have multiple values since the doc can be "confirmed" more than once.

      I think it would be better to delay this confirmation as much as possible, so that other parts of the query (e.g. other filters, conjunctions, etc) can eliminate checks as well.

        Attachments

        1. LUCENE-7019.patch
          6 kB
          Robert Muir
        2. LUCENE-7019.patch
          5 kB
          Robert Muir

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: