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/20 15:27:00 UTC

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

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

Nicholas Knize updated LUCENE-8364:
-----------------------------------
    Attachment: LUCENE-8364.patch

> 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
>            Priority: Major
>         Attachments: LUCENE-8364.patch
>
>
> 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