You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Hugo Mercier (Jira)" <ji...@apache.org> on 2022/06/23 15:14:00 UTC

[jira] [Commented] (LUCENE-9580) Tessellator failure for a certain polygon

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

Hugo Mercier commented on LUCENE-9580:
--------------------------------------

I've encountered the same issue on Elasticsearch 7.17 (Lucene 8.11) with a polygon having 4 holes and the patch correctly fixes the problem.

Will there be a backport of the fix onto 8.11 ? so that it could be included in ES 7.17.x ?

> Tessellator failure for a certain polygon
> -----------------------------------------
>
>                 Key: LUCENE-9580
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9580
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 8.5, 8.6
>            Reporter: Iurii Vyshnevskyi
>            Assignee: Ignacio Vera
>            Priority: Major
>             Fix For: 9.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> This bug was discovered while using ElasticSearch (checked with versions 7.6.2 and 7.9.2).
> But I've created an isolated test case just for Lucene: [https://github.com/apache/lucene-solr/pull/2006/files]
>  
> The unit test fails with "java.lang.IllegalArgumentException: Unable to Tessellate shape".
>  
> The polygon contains two holes that share the same vertex and one more standalone hole.
> Removing any of them makes the unit test pass. 
>  
> Changing the least significant digit in any coordinate of the "common vertex" in any of two first holes, so that these vertices become different in each hole - also makes unit test pass.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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