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

Mailing List Archive: Lucene: Java-Dev

issue with UpdateRequestProcessorChain for UIMA

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


hershad at gmail

Jan 18, 2012, 10:35 PM

Post #1 of 2 (33 views)
Permalink
issue with UpdateRequestProcessorChain for UIMA

solrconfig.xml file has an option to override certain UIMA runtime
parameters in the UpdateRequestProcessorChain section.

There are certain UIMA annotators like RegexAnnotator which define
"runtimeParameters" value as an Array which is not currently supported
in the Solr-UIMA interface.

In java/org/apache/solr/uima/processor/ae/OverridingParamsAEProvider.java,
private Object getRuntimeValue(AnalysisEngineDescription desc, String
attributeName) function defines override for UIMA analysis engine
runtimeParameters as they are passed to UIMA Analysis Engine.
runtimeParameters which are currently supported in the Solr-UIMA interface are:
String
Integer
Boolean
Float

I have made a hack to fix this issue to add Array support. I would
like to submit that as a patch if no one else is working on fixing
this issue.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene


hossman_lucene at fucit

Feb 3, 2012, 2:30 PM

Post #2 of 2 (27 views)
Permalink
Re: issue with UpdateRequestProcessorChain for UIMA [In reply to]

: I have made a hack to fix this issue to add Array support. I would
: like to submit that as a patch if no one else is working on fixing
: this issue.

Harshad: patches are always welcome. If you haven't seen it yet, there is
a wiki with details on how to contribute new patches...

https://wiki.apache.org/solr/HowToContribute


-Hoss

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene

Lucene java-dev 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.