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/05 16:29:12 UTC

[jira] [Resolved] (LUCENE-6092) Spatial NumberRangePrefixTree wasn't normalizing certain ranges

     [ https://issues.apache.org/jira/browse/LUCENE-6092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Smiley resolved LUCENE-6092.
----------------------------------
    Resolution: Fixed

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org