You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Nicholas Knize (JIRA)" <ji...@apache.org> on 2018/06/19 21:36:00 UTC

[jira] [Created] (LUCENE-8364) Refactor and clean up core geo api

Nicholas Knize created LUCENE-8364:
--------------------------------------

             Summary: Refactor and clean up core geo api
                 Key: LUCENE-8364
                 URL: https://issues.apache.org/jira/browse/LUCENE-8364
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Nicholas Knize


The core geo API is quite disorganized and confusing. For example there is {{Polygon}} for creating an instance of polygon vertices and holes and {{Polygon2D}} for computing relations between points and polygons. There is also a {{PolygonPredicate}} and {{DistancePredicate}} in {{GeoUtils}} for computing point in polygon and point distance relations, respectively, and a {{GeoRelationUtils}} utility class which is no longer used for anything. This disorganization is due to the organic improvements of simple {{LatLonPoint}} indexing and search features and a little TLC is needed to clean up api to make it more approachable and easy to understand. 



--
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