[
https://issues.apache.org/jira/browse/SOLR-13437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16865117#comment-16865117
]
David Smiley commented on SOLR-13437:
-------------------------------------
Spatial4j uses Noggit for GeoJSON parsing. It's considered an "optional"
dependency, and thus if Noggit isn't on the classpath then the GeoJSON parsing
feature isn't enabled. Spatial4j can still _write_ GeoJSON which doesn't use
any libs.
https://github.com/locationtech/spatial4j/blob/master/src/main/java/org/locationtech/spatial4j/io/GeoJSONReader.java
One way to handle this is to fork that one class into Solr and simply change
the import statement. There's more to it though... need to register this shape
reader in org.apache.solr.schema.AbstractSpatialFieldType#init
> fork noggit code to Solr
> ------------------------
>
> Key: SOLR-13437
> URL: https://issues.apache.org/jira/browse/SOLR-13437
> Project: Solr
> Issue Type: Task
> Components: SolrJ
> Reporter: Noble Paul
> Assignee: Noble Paul
> Priority: Major
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> We rely on noggit for all our JSON encoding/decoding needs.The main project
> is not actively maintained . We cannot easily switch to another parser
> because it may cause backward incompatibility and we have advertised the
> ability to use flexible JSON and we also use noggit internally in many classes
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]