lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matthew.fow...@thomsonreuters.com
Subject RE: Apache-solr-3.2.0 UIMA
Date Thu, 02 Jun 2011 10:24:56 GMT
I have seen this happen when the schema does not match what you're
indexing

-----Original Message-----
From: PacoPeralta [mailto:pacoperalta@hotmail.com] 
Sent: 02 June 2011 11:21
To: general@lucene.apache.org
Subject: Apache-solr-3.2.0 UIMA

Hi I'm testing UIMA on Apache-solr-3.2.0 following the steps of
Readme.txt
and when I try to index an xml file, Solr returns the next error:


GRAVE: Error in xpath:java.lang.RuntimeException: solrconfig.xml missing
/config/uimaConfig/analysisEngine
        at org.apache.solr.core.Config.getNode(Config.java:234)
        at
org.apache.solr.uima.processor.SolrUIMAConfigurationReader.readAEPath(So
lrUIMAConfigurationReader.java:55)
        at
org.apache.solr.uima.processor.SolrUIMAConfigurationReader.readSolrUIMAC
onfiguration(SolrUIMAConfigurationReader.java:50)
        at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.initialize(UIM
AUpdateRequestProcessor.java:54)
        at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.<init>(UIMAUpd
ateRequestProcessor.java:48)
        at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessorFactory.getInst
ance(UIMAUpdateRequestProcessorFactory.java:35)
        at
org.apache.solr.update.processor.UpdateRequestProcessorChain.createProce
ssor(UpdateRequestProcessorChain.java:74)
        at
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(Conte
ntStreamHandlerBase.java:53)
        at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerB
ase.java:129)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1360)
        at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.ja
va:356)
        at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.j
ava:252)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1212)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2
16)
        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(ContextHandler
Collection.java:230)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:114)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.j
ava:945)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
        at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
        at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.jav
a:228)
        at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java
:582)

02-jun-2011 12:10:57 org.apache.solr.common.SolrException log
GRAVE: org.apache.solr.common.SolrException: Error in
xpath:/config/uimaConfig/analysisEngine for solrconfig.xml
        at org.apache.solr.core.Config.getNode(Config.java:251)
        at
org.apache.solr.uima.processor.SolrUIMAConfigurationReader.readAEPath(So
lrUIMAConfigurationReader.java:55)
        at
org.apache.solr.uima.processor.SolrUIMAConfigurationReader.readSolrUIMAC
onfiguration(SolrUIMAConfigurationReader.java:50)
        at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.initialize(UIM
AUpdateRequestProcessor.java:54)
        at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.<init>(UIMAUpd
ateRequestProcessor.java:48)
        at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessorFactory.getInst
ance(UIMAUpdateRequestProcessorFactory.java:35)
        at
org.apache.solr.update.processor.UpdateRequestProcessorChain.createProce
ssor(UpdateRequestProcessorChain.java:74)
        at
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(Conte
ntStreamHandlerBase.java:53)
        at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerB
ase.java:129)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1360)
        at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.ja
va:356)
        at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.j
ava:252)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1212)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2
16)
        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(ContextHandler
Collection.java:230)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:114)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.j
ava:945)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
        at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
        at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.jav
a:228)
        at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java
:582)
Caused by: java.lang.RuntimeException: solrconfig.xml missing
/config/uimaConfig/analysisEngine
        at org.apache.solr.core.Config.getNode(Config.java:234)
        ... 28 more


Regards


--
View this message in context:
http://lucene.472066.n3.nabble.com/Apache-solr-3-2-0-UIMA-tp3014534p3014
534.html
Sent from the Lucene - General mailing list archive at Nabble.com.

Mime
View raw message