You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ignacio Vera (JIRA)" <ji...@apache.org> on 2019/01/16 17:20:00 UTC

[jira] [Comment Edited] (LUCENE-8634) LatLonShape: Query with the same polygon that is indexed might not match

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

Ignacio Vera edited comment on LUCENE-8634 at 1/16/19 5:19 PM:
---------------------------------------------------------------

Actually, in the example of the patch, the resulting polygon is invalid (it becomes a line). 


was (Author: ivera):
Actually, in the example of the patch, the resulting polygon is invalid (it is a line). 

> LatLonShape: Query with the same polygon that is indexed might not match
> ------------------------------------------------------------------------
>
>                 Key: LUCENE-8634
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8634
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/sandbox
>    Affects Versions: 8.0, 7.7, master (9.0)
>            Reporter: Ignacio Vera
>            Priority: Major
>         Attachments: LUCENE-8634.patch, LUCENE-8634.patch
>
>
> If a polygon with a degenerated dimension is indexed and then an intersect query is performed with the same polygon, it might result in an empty result. For example this polygon with degenerated longitude:
> POLYGON((1.401298464324817E-45 22.0, 1.401298464324817E-45 69.0, 4.8202184588118395E-40 69.0, 4.8202184588118395E-40 22.0, 1.401298464324817E-45 22.0))
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org