You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2016/06/06 21:35:21 UTC

[jira] [Updated] (SOLR-8859) AbstractSpatialFieldType can use ShapeContext to read/write shapes (WKT, GeoJSON)

     [ https://issues.apache.org/jira/browse/SOLR-8859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Smiley updated SOLR-8859:
-------------------------------
    Attachment: SOLR-8859_part2.patch

The attached patch rectifies the aforementioned problems includes more testing.  Fixing RptWithGeometrySpatialField was actually pretty easy so I just did it here.  The patch also clarifies the CHANGES.txt to make it more apparent that this adds GeoJSON:

{noformat}
* SOLR-8859: Spatial fields like RPT can now be configured to use Spatial4j registered shape formats
  e.g. via format="GeoJSON".  (ryan, David Smiley)
{noformat}

I plan to commit this tomorrow.

> AbstractSpatialFieldType can use ShapeContext to read/write shapes (WKT, GeoJSON)
> ---------------------------------------------------------------------------------
>
>                 Key: SOLR-8859
>                 URL: https://issues.apache.org/jira/browse/SOLR-8859
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>            Priority: Blocker
>             Fix For: 6.1, master (7.0)
>
>         Attachments: SOLR-8859.patch, SOLR-8859_part2.patch
>
>
> Right now the AbstractSpatialFieldType throws exceptions if it needs to convert to/from a string.  We should use the context to convert



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org