[ 
https://issues.apache.org/jira/browse/LUCENE-10470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yixun Xu updated LUCENE-10470:
------------------------------
    Description: 
I have a polygon that causes {{Tessellator.tessellate}} to throw an "Unable to 
Tessellate shape" error. I tried several versions of Lucene, and the issue does 
not happen with Lucene 8.2.0, but seems to happen with all Lucene versions 
>=8.3.0, including the latest main branch.

I created a branch that reproduces the issue: 
[https://github.com/apache/lucene/compare/main...yixunx:yx/reproduce-tessellator-error?expand=1]

This is the polygon rendered on geojson.io:

!image-2022-03-16-18-12-43-411.png|width=379,height=234!

Is this a bug in the Tesselator logic, or is there anything wrong with this 
polygon that maybe wasn't caught by Lucene 8.2.0?

  was:
I have a polygon that causes {{Tessellator.tessellate}} to throw an "Unable to 
Tessellate shape" error. I tried several versions of Lucene, and the issue does 
not happen with Lucene 8.2.0, but seems to happen with all Lucene versions 
>=8.3.0, including the latest main branch.

I created a branch that reproduces the issue: 
[https://github.com/apache/lucene/compare/main...yixunx:yx/reproduce-tessellator-error?expand=1]

This is the polygon rendered on geojson.io:

!image-2022-03-16-17-40-18-721.png|width=377,height=348!

Is this a bug in the Tesselator logic, or is there anything wrong with this 
polygon that maybe wasn't caught by Lucene 8.2.0?


> Unable to Tessellate polygon
> ----------------------------
>
>                 Key: LUCENE-10470
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10470
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: 9.0
>            Reporter: Yixun Xu
>            Priority: Major
>         Attachments: image-2022-03-16-17-40-18-721.png, 
> image-2022-03-16-18-12-43-411.png
>
>
> I have a polygon that causes {{Tessellator.tessellate}} to throw an "Unable 
> to Tessellate shape" error. I tried several versions of Lucene, and the issue 
> does not happen with Lucene 8.2.0, but seems to happen with all Lucene 
> versions >=8.3.0, including the latest main branch.
> I created a branch that reproduces the issue: 
> [https://github.com/apache/lucene/compare/main...yixunx:yx/reproduce-tessellator-error?expand=1]
> This is the polygon rendered on geojson.io:
> !image-2022-03-16-18-12-43-411.png|width=379,height=234!
> Is this a bug in the Tesselator logic, or is there anything wrong with this 
> polygon that maybe wasn't caught by Lucene 8.2.0?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to