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

Simplify API for Geo3DPoint when performing a polygon query

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • modules/spatial3d
    • None
    • 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

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

            Dates

              Created:
              Updated: