You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2016/03/14 23:09:33 UTC

[jira] [Resolved] (LUCENE-7102) LatLonPoint newDistanceSort fails with "sort missing first"

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

Robert Muir resolved LUCENE-7102.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 6.1
                   master

> LatLonPoint newDistanceSort fails with "sort missing first"
> -----------------------------------------------------------
>
>                 Key: LUCENE-7102
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7102
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>             Fix For: master, 6.1
>
>         Attachments: LUCENE-7102.patch
>
>
> The distance sort comparator creates bounding boxes when the priority queue is full, to speed up sorting.
> But with missing values (which we don't test), they can be e.g. -Inf/+Inf and we do the wrong thing (e.g. try to make illegal infinite bounding boxes).



--
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