Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8576

Simplify API for Geo3DPoint when performing a polygon query

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: modules/spatial3d
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ivera Ignacio Vera
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: