You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Ignacio Vera (Jira)" <ji...@apache.org> on 2020/02/14 11:50:00 UTC
[jira] [Created] (LUCENE-9225) Rectangle should extend
LatLonGeometry
Ignacio Vera created LUCENE-9225:
------------------------------------
Summary: Rectangle should extend LatLonGeometry
Key: LUCENE-9225
URL: https://issues.apache.org/jira/browse/LUCENE-9225
Project: Lucene - Core
Issue Type: Improvement
Reporter: Ignacio Vera
Rectangle class is the only geometry class that do not extend LatLonGeometry. This is because we have an specialise query for rectangles that works on the encoded space (very similar to what LatLonPoint is doing).
It would be nice if Rectangle could implement LatLonGeometry, so in cases where a bounding box is part of a complex geometry, it can fall back to Component2D objects.
The idea is to move the specialise logic in Rectangle2D inside the specialised LatLonBoundingBoxQuery and rename the current XYRectangle2D to Rectangle2D.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org