[
https://issues.apache.org/jira/browse/SOLR-6904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275230#comment-14275230
]
ASF subversion and git services commented on SOLR-6904:
-------------------------------------------------------
Commit 1651351 from [~dsmiley] in branch 'dev/trunk'
[ https://svn.apache.org/r1651351 ]
SOLR-6904: remove deprecated spatial Circle & Rect syntax
FYI these weren't used often and were replaced with supported syntaxes in v4.3.
> 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]