Thanks for your reply.

I have found that the problem is with the  units="degrees" in schema.xml

Caused by: java.lang.RuntimeException: schema fieldtype
location_rpt(org.apache.solr.schema.SpatialRecursivePrefixTreeFieldType)
invalid arguments:{units=degrees}
at org.apache.solr.schema.FieldType.setArgs(FieldType.java:198)
at
org.apache.solr.schema.FieldTypePluginLoader.init(FieldTypePluginLoader.java:150)
at
org.apache.solr.schema.FieldTypePluginLoader.init(FieldTypePluginLoader.java:53)

This error will appear for those fieldType with units=degrees. It works
after I remove those fieldType from my schema.xml.

Would like to check, is there any compatibility issue with this
units=degrees, or is it already deprecated in Solr 6.0.0

Regards,
Edwin


On 25 May 2016 at 16:49, Alessandro Benedetti <abenede...@apache.org> wrote:

> From 5.4.0 to Solr 6 you don't even need to migrate the index.
> Set up you Solr 6,
> Start it up
> Check if Solr is happy ( no schema or solrconfig exception in the log)
> Stop Solr
> Copy the index
> Start Solr and do a commit/optimize and the index should be up to date.
>
> Let me know if you find any problem!
>
> Cheers
>
> On Wed, May 25, 2016 at 9:09 AM, Zheng Lin Edwin Yeo <edwinye...@gmail.com
> >
> wrote:
>
> > Hi,
> >
> > I'm in the process of upgrading from Solr 5.4.0 to Solr 6.0.0.
> >
> > However, when I migrate the index over, it says that there is Error
> loading
> > solr config from solrconfig.xml.
> >
> > Is there is anything that is not comparable from Solr 5.4.0 which may
> > causes this?
> >
> > I have changed the luceneMatchVersion to 6.0.0:
> > <luceneMatchVersion>6.0.0</luceneMatchVersion>
> >
> > Also, I'm using the ClassicIndexSchemaFactory, and this line has been
> > inserted in my solrconfig.xml since Solr 5.3:
> > <schemaFactory class="ClassicIndexSchemaFactory"/>
> >
> > Regards,
> > Edwin
> >
>
>
>
> --
> --------------------------
>
> Benedetti Alessandro
> Visiting card : http://about.me/alessandro_benedetti
>
> "Tyger, tyger burning bright
> In the forests of the night,
> What immortal hand or eye
> Could frame thy fearful symmetry?"
>
> William Blake - Songs of Experience -1794 England
>

Reply via email to