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

LatLonPointDistanceQuery could skip distance computations more often

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 6.5, 7.0
    • None
    • None
    • New

    Description

      Currently the logic that check whether all points of a box are within the circle does not take longitude wrapping into account. As a consequence, if you run a distance query whose circle crosses the dateline, we might be performing LOTs of distance computations.

      Attachments

        1. LUCENE-7660.patch
          2 kB
          Adrien Grand

        Activity

          People

            Unassigned Unassigned
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: