I see, the schema version is very wrong and will not work properly with Solr: https://issues.apache.org/jira/browse/NUTCH-1443
-----Original message----- > From:Caklovic, Nenad <[email protected]> > Sent: Tue 31-Jul-2012 23:11 > To: [email protected] > Subject: RE: Nutch 1.5.1 Solr 3.6.1 Error > > Hi, > > I had the same problem. I resolved it by modifying nutch version line in > schema.xml file from: > <schema name="nutch" version="1.5.1"> > > to: > <schema name="nutch" version="1.5"> > > It seems that the problem is that schema parser looks at this field as > floating point type, which doesn't like seeing two periods in a floating > point number. > > Best, > Nenad > > > -----Original Message----- > From: Kevin Reiss [mailto:[email protected]] > Sent: Tuesday, July 31, 2012 1:23 PM > To: [email protected] > Subject: Re: Nutch 1.5.1 Solr 3.6.1 Error > > Hi, > > Thanks for the suggestion, but I am actually am using the "conf/schema.xml" > file that ships with nutch 1.5.1. > http://svn.apache.org/viewvc/nutch/branches/branch-1.5.1/conf/schema.xml?view=markup. > I've just copied it over into my solr instance's conf directory as suggested > in step six off the Nutch Tutorial > http://wiki.apache.org/nutch/NutchTutorial#A6._Integrate_Solr_with_Nutch. > > On Tue, Jul 31, 2012 at 3:10 PM, Alejandro Caceres < > [email protected]> wrote: > > > Hey Kevin, > > > > Check your "schema.xml" file. This file specifies what fields Sole > > "knows about" when indexing. I suspect you have not edited it to > > include what nutch is trying to index. Do a search online for a > > nutch-specific Solr schema.xml file, or alternatively check the Solr > > logs to see which fields are missing. > > > > On Mon, Jul 30, 2012 at 6:11 PM, Kevin Reiss <[email protected]> > > wrote: > > > > > Hi, > > > > > > I'm working through the Nutch Tutorial using version 1.5.1 and am > > > getting an error when using the schema.xml file for solr provided > > > with nutch to finish the final step at > > > http://wiki.apache.org/nutch/NutchTutorial#A6._Integrate_Solr_with_N > > > utch > > . > > > I'm working with Solr 3.6.1 using the "1.6.0_33" version of the JDK. > > > The error is > > > > > > SEVERE: org.apache.solr.common.SolrException: Schema Parsing Failed: > > > multiple points > > > at > > > org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:688) > > > at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:123) > > > at org.apache.solr.core.CoreContainer.create(CoreContainer.java:478) > > > at org.apache.solr.core.CoreContainer.load(CoreContainer.java:332) > > > at org.apache.solr.core.CoreContainer.load(CoreContainer.java:216) > > > at > > > > > > > > org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContaine > > r.java:161) > > > at > > > > > org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.jav > > a:96) > > > at > > > org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) > > > at > > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:5 > > 0) > > > at > > > > > > > > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.jav > > a:713) > > > at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) > > > at > > > > > > > > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java > > :1282) > > > at > > > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java > > > :518) at > > > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:49 > > > 9) > > > at > > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:5 > > 0) > > > at > > > > > > > > org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection. > > java:152) > > > at > > > > > > > > org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHand > > lerCollection.java:156) > > > at > > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:5 > > 0) > > > at > > > > > > > > org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection. > > java:152) > > > at > > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:5 > > 0) > > > at > > > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java > > > :130) at org.mortbay.jetty.Server.doStart(Server.java:224) > > > at > > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:5 > > 0) > > > at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > at > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > at org.mortbay.start.Main.invokeMain(Main.java:194) > > > at org.mortbay.start.Main.start(Main.java:534) > > > at org.mortbay.start.Main.start(Main.java:441) > > > at org.mortbay.start.Main.main(Main.java:119) > > > Caused by: java.lang.NumberFormatException: multiple points > > > at > > sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1082) > > > at java.lang.Float.parseFloat(Float.java:422) > > > at org.apache.solr.core.Config.getFloat(Config.java:307) > > > at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:430) > > > ... 31 more > > > > > > >

