[
https://issues.apache.org/jira/browse/LUCENE-7102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15193725#comment-15193725
]
Michael McCandless commented on LUCENE-7102:
--------------------------------------------
+1, nice catch.
I'm not sure we should even allow "sort missing first"...
> 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: [email protected]
For additional commands, e-mail: [email protected]