lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justinas Jaronis (JIRA)" <>
Subject [jira] Commented: (SOLR-2129) Provide a Solr module for dynamic metadata extraction/indexing with Apache UIMA
Date Tue, 07 Dec 2010 16:53:13 GMT


Justinas Jaronis commented on SOLR-2129:

I tried Your latest patch however after compiling it doesn't include resources (./contrib/uima/src/resources/*)
to the compiled project. So posting fails : 

java.lang.RuntimeException: org.apache.uima.resource.ResourceInitializationException
    at org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(
    at org.apache.solr.handler.XMLLoader.processUpdate(
    at org.apache.solr.handler.XMLLoader.load(
    at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(
    at org.apache.solr.handler.RequestHandlerBase.handleRequest(
    at org.apache.solr.core.SolrCore.execute(
    at org.apache.solr.servlet.SolrDispatchFilter.execute(
    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
    at org.mortbay.jetty.servlet.ServletHandler.handle(
    at org.mortbay.jetty.servlet.SessionHandler.handle(
    at org.mortbay.jetty.handler.ContextHandler.handle(
    at org.mortbay.jetty.webapp.WebAppContext.handle(
    at org.mortbay.jetty.handler.ContextHandlerCollection.handle(
    at org.mortbay.jetty.handler.HandlerCollection.handle(
    at org.mortbay.jetty.handler.HandlerWrapper.handle(
    at org.mortbay.jetty.Server.handle(
    at org.mortbay.jetty.HttpConnection.handleRequest(
    at org.mortbay.jetty.HttpConnection$RequestHandler.content(
    at org.mortbay.jetty.HttpParser.parseNext(
    at org.mortbay.jetty.HttpParser.parseAvailable(
    at org.mortbay.jetty.HttpConnection.handle(
    at org.mortbay.thread.QueuedThreadPool$
Caused by: org.apache.uima.resource.ResourceInitializationException
    at org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processText(
    at org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(
    ... 24 more
Caused by: java.lang.NullPointerException
    at org.apache.uima.util.XMLInputSource.&lt;init&gt;(
    ... 26 more

when OverridingParamsAEProvider tries to read  /org/apache/uima/desc/OverridingParamsExtServicesAE.xml
. Where this file (and its fellow XMLs) should be located?

Thanks for the effort. Great project!

> Provide a Solr module for dynamic metadata extraction/indexing with Apache UIMA
> -------------------------------------------------------------------------------
>                 Key: SOLR-2129
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Tommaso Teofili
>            Assignee: Robert Muir
>         Attachments:, SOLR-2129-asf-headers.patch, SOLR-2129-version2.patch,
> Provide components to enable Apache UIMA automatic metadata extraction to be exploited
when indexing documents.
> The purpose of this is to get unstructured information "inside" a document and create
structured metadata (as fields) to enrich each document.
> Basically this can be done with a custom UpdateRequestProcessor which triggers UIMA while
indexing documents.
> The basic UIMA implementation of UpdateRequestProcessor extracts sentences (with a tokenizer
and an hidden Markov model tagger), named entities, language, suggested category, keywords
and concepts (exploiting external services from OpenCalais and AlchemyAPI). Such an implementation
can be easily extended adding or selecting different UIMA analysis engines, both from UIMA
repositories on the web or creating new ones from scratch.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message