David Smiley created LUCENE-6092: ------------------------------------ Summary: Spatial NumberRangePrefixTree wasn't normalizing certain ranges Key: LUCENE-6092 URL: https://issues.apache.org/jira/browse/LUCENE-6092 Project: Lucene - Core Issue Type: Bug Components: modules/spatial Reporter: David Smiley Assignee: David Smiley Fix For: 5.0
NumberRangePrefixTree _must_ normalize/optimize in toRangeShape() to a LeveledValue (not a range) when possible because of assumptions made elsewhere. Plus it should be faster. The case of April to April 1st should yield April 1st, and likewise April 30th to April should yield April 30th. These cases weren't handled leading to a CI test failure (credit to randomized testing). -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org