lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: Nutch 1.4 with Solr 3.6 - compatible?
Date Wed, 04 Jul 2012 02:07:08 GMT
Either add the "text" field back to the schema (consult the Solr example 
schema) or remove or change all references to "text" in solrconfig.xml to 
some other field that you do still have in the schema.

-- Jack Krupansky

-----Original Message----- 
From: 12rad
Sent: Tuesday, July 03, 2012 7:30 PM
To: solr-user@lucene.apache.org
Subject: Nutch 1.4 with Solr 3.6 - compatible?

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-tp3992891.html
Sent from the Solr - User mailing list archive at Nabble.com. 


Mime
View raw message