nknize commented on issue #11767:
URL: https://github.com/apache/lucene/issues/11767#issuecomment-1248986666

   > I don't understand this. We re claiming in the java docs that polygons 
should not be self-intersecting and we do not introduce self-intersections in 
our code, why we want to remove them?
   
   
   Because real life Geo data doesn't care what our javadocs say. Small self 
intersections are a reality that rears its head every now and then in real data 
and the performance hit to "best effort" detect and clean in the tessellator's 
cure phase at index time was worth more than directing user's to a third party 
cleaning utility before indexing. 
   
   Our blind polygon class does nothing to enforce those javadocs so maybe 
before completely removing we might consider flagging that phase as an optional 
validation step disabled by default? (Think `ignore_malformed`) 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to