Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: General

Apache-solr-3.2.0 UIMA

 

 

Lucene general RSS feed   Index | Next | Previous | View Threaded


pacoperalta at hotmail

Jun 2, 2011, 3:21 AM

Post #1 of 6 (777 views)
Permalink
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(SolrUIMAConfigurationReader.java:55)
at
org.apache.solr.uima.processor.SolrUIMAConfigurationReader.readSolrUIMAConfiguration(SolrUIMAConfigurationReader.java:50)
at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.initialize(UIMAUpdateRequestProcessor.java:54)
at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.<init>(UIMAUpdateRequestProcessor.java:48)
at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessorFactory.getInstance(UIMAUpdateRequestProcessorFactory.java:35)
at
org.apache.solr.update.processor.UpdateRequestProcessorChain.createProcessor(UpdateRequestProcessorChain.java:74)
at
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:53)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1360)
at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
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)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java: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.java: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(SolrUIMAConfigurationReader.java:55)
at
org.apache.solr.uima.processor.SolrUIMAConfigurationReader.readSolrUIMAConfiguration(SolrUIMAConfigurationReader.java:50)
at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.initialize(UIMAUpdateRequestProcessor.java:54)
at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.<init>(UIMAUpdateRequestProcessor.java:48)
at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessorFactory.getInstance(UIMAUpdateRequestProcessorFactory.java:35)
at
org.apache.solr.update.processor.UpdateRequestProcessorChain.createProcessor(UpdateRequestProcessorChain.java:74)
at
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:53)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1360)
at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
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)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java: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.java: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-tp3014534p3014534.html
Sent from the Lucene - General mailing list archive at Nabble.com.


matthew.fowler at thomsonreuters

Jun 2, 2011, 3:24 AM

Post #2 of 6 (720 views)
Permalink
RE: Apache-solr-3.2.0 UIMA [In reply to]

I have seen this happen when the schema does not match what you're
indexing

-----Original Message-----
From: PacoPeralta [mailto:pacoperalta [at] hotmail]
Sent: 02 June 2011 11:21
To: general [at] lucene
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.


koji at r

Jun 2, 2011, 3:41 AM

Post #3 of 6 (729 views)
Permalink
Re: Apache-solr-3.2.0 UIMA [In reply to]

(11/06/02 19:21), PacoPeralta wrote:
> 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

The xpath "/config/uimaConfig" seems to be for Solr 3.1 but you have solrconfig.xml
for 3.2 (because you read 3.2 README.txt in contrib/uima/). I think you run
Solr 3.1 due to unexpected classpatch or something?

koji
--
http://www.rondhuit.com/en/


pacoperalta at hotmail

Jun 3, 2011, 2:35 AM

Post #4 of 6 (702 views)
Permalink
Re: Apache-solr-3.2.0 UIMA [In reply to]

Hi.
I'm executing uima from
http://people.apache.org/~mikemccand/lucene_solr_320/rc1/solr/apache-solr-3.2.0.zip
following the instructions of the readme.txt file from contrib/uima/.....

I'm looking for any difference between the schema and the fields I have
configured.


Thank you
Best Regards

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


koji at r

Jun 3, 2011, 4:52 AM

Post #5 of 6 (700 views)
Permalink
Re: Apache-solr-3.2.0 UIMA [In reply to]

(11/06/03 18:35), PacoPeralta wrote:
> Hi.
> I'm executing uima from
> http://people.apache.org/~mikemccand/lucene_solr_320/rc1/solr/apache-solr-3.2.0.zip
> following the instructions of the readme.txt file from contrib/uima/.....

Can you try rc2 at http://s.apache.org/lusolr32rc2 ?
I've just tried it now and works as expected.

koji
--
http://www.rondhuit.com/en/


pacoperalta at hotmail

Jun 6, 2011, 8:47 AM

Post #6 of 6 (685 views)
Permalink
Re: Apache-solr-3.2.0 UIMA [In reply to]

Hi koji.
Thank you very much
Efectively It works as expected from the link you
suggest


Best regards


pacoperalta [at] hotmail

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

Lucene general RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.