You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/12/03 22:16:13 UTC
[jira] [Created] (LUCENE-6092) Spatial NumberRangePrefixTree wasn't
normalizing certain ranges
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org