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

heatmap bug causing InvalidShapeException

    XMLWordPrintableJSON

    Details

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

      Description

      From a CI test failure:
      Build: https://builds.apache.org/job/Lucene-Solr-NightlyTests-5.x/1003/

      1 tests failed.
      FAILED:  org.apache.lucene.spatial.prefix.HeatmapFacetCounterTest.testRandom {#11 seed=[D30126801503C858:4E8BBD0E05B60CEF]}
      
      Error Message:
      maxY must be >= minY: -23.184599227870876 to -23.18459922787088
      
      Stack Trace:
      com.spatial4j.core.exception.InvalidShapeException: maxY must be >= minY: -23.184599227870876 to -23.18459922787088
              at __randomizedtesting.SeedInfo.seed([D30126801503C858:4E8BBD0E05B60CEF]:0)
              at com.spatial4j.core.context.SpatialContext.makeRectangle(SpatialContext.java:218)
              at org.apache.lucene.spatial.SpatialTestCase.randomRectangle(SpatialTestCase.java:175)
              at org.apache.lucene.spatial.prefix.HeatmapFacetCounterTest.queryHeatmapRecursive(HeatmapFacetCounterTest.java:207)
              at org.apache.lucene.spatial.prefix.HeatmapFacetCounterTest.queryHeatmapRecursive(HeatmapFacetCounterTest.java:207)
              at org.apache.lucene.spatial.prefix.HeatmapFacetCounterTest.queryHeatmapRecursive(HeatmapFacetCounterTest.java:207)
              at org.apache.lucene.spatial.prefix.HeatmapFacetCounterTest.testRandom(HeatmapFacetCounterTest.java:169)
      

        Attachments

        1. LUCENE_6873.patch
          0.8 kB
          David Smiley

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: