lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7938) Bounds of bounding box are not equal to bounding box
Date Mon, 21 Aug 2017 17:35:00 GMT


Karl Wright commented on LUCENE-7938:

[~ivera], this is by design.  Bounding boxes are supposed to *contain* the objects within;
there are indeed some rare cases where it is difficult to compute the bounding box and we
return a larger box as a shortcut.

Furthermore, you should not modify the "equals" method to allow a match that is not a precise
object match; that's a violation of the contract of "equals".

I'm going to close this as "not a bug".

> Bounds of bounding box are not equal to bounding box
> ----------------------------------------------------
>                 Key: LUCENE-7938
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Ignacio Vera
>            Assignee: Karl Wright
>            Priority: Minor
>         Attachments: LUCENE-7938-fix.patch, LUCENE-7938-test.patch
> Hi,
> It seems if I get the bounds of a BBox and I create a new bounding box, sometimes both
bounding box are not equal. It is a problem with precision.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message