[
https://issues.apache.org/jira/browse/SOLR-6904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley resolved SOLR-6904.
--------------------------------
Resolution: Fixed
> Remove deprecated Circle/Rect format from trunk & 5.0
> -----------------------------------------------------
>
> Key: SOLR-6904
> URL: https://issues.apache.org/jira/browse/SOLR-6904
> Project: Solr
> Issue Type: Task
> Components: spatial
> Reporter: David Smiley
> Assignee: David Smiley
> Fix For: 5.0, Trunk
>
> Attachments:
> SOLR-6904__spatial,_remove_deprecated_Circle_&_rect_syntax.patch,
> SOLR-6904__spatial,_remove_deprecated_Circle_&_rect_syntax.patch
>
>
> The Solr 4 spatial code introduced a custom format for a rectangle and a
> Circle. In 4.3, it was deprecated in favor of WKT, which no longer required
> JTS for WKT parsing. It should be removed now. The syntax is governed by
> LegacyShapeReadWriterFormat (Spatial4j) referenced by Solr's
> AbstractSpatialFieldType.parseShape.
> Examples of the syntax to be removed are as follows:
> * Rect: {{-74.093 41.042 -69.347 44.558}}
> * Circle: {{Circle(4.56,1.23 d=0.0710)}}
> In addition to use in indexing & querying, the rect shape is also found in
> the worldBounds attribute (optional, only required if you use geo=false)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]