apache / apache/lucene

Debug spatial test failure isWithin [LUCENE-5549]

Open
#6,611 3 comments 0 reactions 1 assignee Claimed by @dsmiley View on GitHub
affects-version:4.8 legacy-jira-priority:Minor module:spatial type:test
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

The bug doesn't appear to be serious; mostly a test bug. It happens with the query shape is based on ShapeCollection, which has a bug in its bounding box that will turn the longitude range into a -180 to 180 range when there is a more optimal tighter range.

https://github.com/spatial4j/spatial4j/issues/77

---
Migrated from [LUCENE-5549](https://issues.apache.org/jira/browse/LUCENE-5549) by David Smiley (@dsmiley), updated Mar 24 2014
Environment:
```
-Dtests.method=testWithin -Dtests.multiplier=3 -Dtests.seed=5F5294CE2E075A3E:AAD2F0F79288CA64
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.