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

Issues with prefix tree's Distance Error Percentage

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA, 4.0-BETA
    • 4.0
    • modules/spatial
    • None
    • New

    Description

      See attached patch for a failing test

      Basically, it's a simple point and radius scenario that works great as long as args.setDistPrecision(0.0); is called. Once the default precision is used (2.5%), it doesn't work as expected.

      The distance between the 2 points in the patch is 35.75 KM. Taking into account the 2.5% error the effective radius without false negatives/positives should be around 34.8 KM. This test fails with a radius of 33 KM.

      Attachments

        Activity

          People

            dsmiley David Smiley
            itamar Itamar Syn-Hershko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: