Ignacio Vera created LUCENE-8576:
------------------------------------

             Summary: Simplify API for Geo3DPoint when performing a polygon 
query
                 Key: LUCENE-8576
                 URL: https://issues.apache.org/jira/browse/LUCENE-8576
             Project: Lucene - Core
          Issue Type: Improvement
          Components: modules/spatial3d
            Reporter: Ignacio Vera


We currently have two ways for polygon queries when using Geo3DPoint, 
newPolygonQuery and newLargePolygonQuery. This is due to the fact that there 
are two implementation for creating polygons in spatial3d.

In LUCENE-8220, it was added a new polygon factory method that chooses the best 
polygon implementation to use depending on the provided polygon. We could 
simplify the interface by using this factory method in newPolygonQuery and 
probably deprecate newLargePolygonQuery.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to