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 <ere.maij...@helsinki.fi> 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 have to update the collection schema to make the Solr 6 > nodes work while making sure that no Solr 5 node reloads the configuration. > > --Ere > > 30.6.2016, 3.46, David Smiley kirjoitti: > > 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 likely tripped you up between 5x and 6x is the > > change in value of the spatialContextFactory as a result in > organizational > > package moving "com.spatial4j.core" to "org.locationtech.spatial4j". > > > > On Wed, Jun 29, 2016 at 12:44 PM tkg_cangkul <yuza.ras...@gmail.com> > wrote: > > > >> 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 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, 2016 at 2:31 AM, tkg_cangkul <yuza.ras...@gmail.com > >>> <mailto:yuza.ras...@gmail.com>> wrote: > >>> > >>> hi, i try to load data spatial from solr with geoserver. > >>> when i try to show the layer preview i've got this error message. > >>> > >>> error > >>> > >>> > >>> anybody can help me pls? > >>> > >>> > >> > >> -- > > Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker > > LinkedIn: http://linkedin.com/in/davidwsmiley | Book: > > http://www.solrenterprisesearchserver.com > > > > -- > Ere Maijala > Kansalliskirjasto / The National Library of Finland > -- Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker LinkedIn: http://linkedin.com/in/davidwsmiley | Book: http://www.solrenterprisesearchserver.com