Re: error rendering solr spatial in geoserver

2016-07-01 Thread David Smiley
Sorry, good point Era; I forgot about that. I filed an issue: https://issues.apache.org/jira/browse/SOLR-9270 When I work on that I'll add an upgrading note to the 6x section. ~ David On Wed, Jun 29, 2016 at 6:31 AM Ere Maijala wrote: > It would have been _really_ nice if this had been in the

Re: error rendering solr spatial in geoserver

2016-06-30 Thread Youzha
i agree for this. :D On Jun 30, 2016 4:12 PM, "Ere Maijala" wrote: > It would have been _really_ nice if this had been in the release notes. > Made me also scratch my head for a while when upgrading to Solr 6. > Additionally, this makes a rolling upgrade from Solr 5.x a bit more scary > since you

Re: error rendering solr spatial in geoserver

2016-06-30 Thread Youzha
well i didn`t know if the package was moved to " org.locationtech.spatial4j" in 6.x. i will try this as your suggestion. thx for your help anyway. On Jun 30, 2016 8:46 AM, "David Smiley" wrote: > For polygons in 6.0 you need to set > > spatialContextFactory="org.locationtech.spatial4j.context.jts

Re: error rendering solr spatial in geoserver

2016-06-30 Thread Ere Maijala
It would have been _really_ nice if this had been in the release notes. Made me also scratch my head for a while when upgrading to Solr 6. Additionally, this makes a rolling upgrade from Solr 5.x a bit more scary since you have to update the collection schema to make the Solr 6 nodes work while

Re: error rendering solr spatial in geoserver

2016-06-29 Thread David Smiley
For polygons in 6.0 you need to set spatialContextFactory="org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory" -- see https://cwiki.apache.org/confluence/display/solr/Spatial+Search and the example. And of course as you probably already know, put the JTS jar on Solr's classpath. What

Re: error rendering solr spatial in geoserver

2016-06-29 Thread tkg_cangkul
hi erick, thx for your reply. i've solve this problem. i got this error when i use solr 6.0.0 so i try to downgrade my solr to version 5.5.0 and it's successfull On 29/06/16 22:39, Erick Erickson wrote: There is not nearly enough information here to say anything very helpful. What does your sc

Re: error rendering solr spatial in geoserver

2016-06-29 Thread Erick Erickson
There is not nearly enough information here to say anything very helpful. What does your schema look like for this field? What does the input look like? How are you pulling data from geoserver? You might want to review: http://wiki.apache.org/solr/UsingMailingLists Best, Erick On Wed, Jun 29, 20