[
https://issues.apache.org/jira/browse/LUCENE-6092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley updated LUCENE-6092:
---------------------------------
Attachment:
LUCENE-6092__NumberRangePrefixTree_toRangeShape_normalization_bug.patch
patch includes some visibility changes related to other work in progress
> 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
>
> Attachments:
> LUCENE-6092__NumberRangePrefixTree_toRangeShape_normalization_bug.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]