[ 
https://issues.apache.org/jira/browse/LUCENE-7102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15193733#comment-15193733
 ] 

Robert Muir commented on LUCENE-7102:
-------------------------------------

I thought about this too, but we can do this separately if we want? 

Either way, i don't think we should pass +/- infinite radius to the geo 
functions.

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

Reply via email to