[ 
https://issues.apache.org/jira/browse/LUCENE-9225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17049941#comment-17049941
 ] 

ASF subversion and git services commented on LUCENE-9225:
---------------------------------------------------------

Commit 286d22717b212f125d2df00ecd1c67b28eda4fe3 in lucene-solr's branch 
refs/heads/master from Ignacio Vera
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=286d227 ]

LUCENE-9225: Rectangle extends LatLonGeometry so it can be used in a geometry 
collection (#1258)




> 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
>            Priority: Minor
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to