Note that the exception during Solr startup seems harmless. (At least in my case the server simply starts functioning after the exception).
Indexing works fine if you copied the schema.xml over from Nutch. On Wed, Jul 4, 2012 at 3:21 AM, Prasanna. Suman <[email protected]>wrote: > I am a newbie to nutch too and as it turns out, I got the same message > although not while starting solr, but while indexing the crawls. I fixed it > by making sure the schema.xml in nutch and solr conf are same. So, that is > copying nutch.home/conf/schema.xml into > solr.home/example/solr/conf/schema.xml. > Hope that helps. > > > On Tue, Jul 3, 2012 at 8:29 PM, 12rad <[email protected]> wrote: > > > Hi > > > > I am new to nutch and was trying it out using the instructions here > > http://wiki.apache.org/nutch/NutchTutorial > > > > After changing the schema.xml of Solr to what Nutch has I keep getting > this > > error.. > > I am unable to start the solr server. > > > > org.apache.solr.common.SolrException: undefined field text > > at > > > > > org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1330) > > at > > > > > org.apache.solr.schema.IndexSchema$SolrQueryAnalyzer.getAnalyzer(IndexSchema.java:408) > > at > > > > > org.apache.solr.schema.IndexSchema$SolrIndexAnalyzer.reusableTokenStream(IndexSchema.java:383) > > at > > > > > org.apache.lucene.queryParser.QueryParser.getFieldQuery(QueryParser.java:574) > > at > > > > > org.apache.solr.search.SolrQueryParser.getFieldQuery(SolrQueryParser.java:206) > > at > > org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:1429) > > at > > org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1317) > > at > > org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1245) > > at > > > > > org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1234) > > at > > org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:206) > > at > > org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:79) > > at org.apache.solr.search.QParser.getQuery(QParser.java:143) > > at > > > > > org.apache.solr.request.SimpleFacets.getFacetQueryCounts(SimpleFacets.java:233) > > at > > > org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:194) > > at > > > > > org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:72) > > at > > > > > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:186) > > at > > > > > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129) > > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1376) > > at > > > > > org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:365) > > at > > > > > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:260) > > at > > > > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) > > at > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399) > > at > > > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > > at > > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) > > at > > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) > > at > > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) > > at > > > > > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) > > at > > > > > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) > > at > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > > at org.mortbay.jetty.Server.handle(Server.java:326) > > > > Anybody whose faced a similar issue? > > Do let me know. > > Thanks! > > > > > > -- > > View this message in context: > > > http://lucene.472066.n3.nabble.com/Nutch-1-4-with-Solr-3-6-compatible-tp3992890.html > > Sent from the Nutch - User mailing list archive at Nabble.com. > > > > > > -- > -- > -- > Prasanna Suman > > #"Any program is only as good as it is useful." - Linus Torvalds >

