Hi All,

I am trying to integrate UIMA with Solr.I am following the steps mentioned
in https://cwiki.apache.org/confluence/display/solr/UIMA+Integration .But
when I try to index the  documents,exceptions are thrown in terminal and
solr log is also logged with error traces.I have been trying to work around
for some time,but unable to get a proper solution for the issue.

I am using solr 6.1.0
                       
I have included all the jars mentioned in the document.
analyze field:

         <arr name="fields">
          <str>content</str>
         </arr>
This field hold all the extracted content(text content) from respective
documents indexed(some are large documents).
content field is of field type text_general.It is not a copy field.The field
holds the respective document contents.
          <field name="content" type="text_general" indexed="true"
termOffsets="true" stored="true"
          termPositions="true" termVectors="true" multiValued="true"
required="true"/>

I have created the three fields too in the config file(referred the
document).

I have generated valid keys for the API's. Internet connection is available.

solrconfig.xml:
                       
                        <updateRequestProcessorChain name="uima" >
                        <processor
class="org.apache.solr.uima.processor.UIMAUpdateRequestProcessorFactory">
                        <lst name="uimaConfig">
                        <lst name="runtimeParameters">
                        <str
name="keyword_apikey">VALID_ALCHEMYAPI_KEY</str>
                        <str
name="concept_apikey">VALID_ALCHEMYAPI_KEY</str>
                        <str name="lang_apikey">VALID_ALCHEMYAPI_KEY</str>
                        <str name="cat_apikey">VALID_ALCHEMYAPI_KEY</str>
                        <str
name="entities_apikey">VALID_ALCHEMYAPI_KEY</str>
                        <str name="oc_licenseID">VALID_OPENCALAIS_KEY</str>
                        </lst>
                        <str
name="analysisEngine">/org/apache/uima/desc/OverridingParamsExtServicesAE.xml</str>
                       
                        <bool name="ignoreErrors">true</bool>
                        <str name="logField">fileName</str>
                       
                        <lst name="analyzeFields">
                        <bool name="merge">false</bool>
                        <arr name="fields">
          <str>content</str>
        </arr>
      </lst>
      <lst name="fieldMappings">
        <lst name="type">
          <str
name="name">org.apache.uima.alchemy.ts.concept.ConceptFS</str>
          <lst name="mapping">
            <str name="feature">text</str>
            <str name="field">concept</str>
          </lst>
        </lst>
        <lst name="type">
          <str
name="name">org.apache.uima.alchemy.ts.language.LanguageFS</str>
          <lst name="mapping">
            <str name="feature">language</str>
            <str name="field">language</str>
          </lst>
        </lst>
        <lst name="type">
          <str name="name">org.apache.uima.SentenceAnnotation</str>
          <lst name="mapping">
            <str name="feature">coveredText</str>
            <str name="field">sentence</str>
          </lst>
        </lst>
      </lst>
    </lst>
  </processor>
  <processor class="solr.LogUpdateProcessorFactory" />
  <processor class="solr.RunUpdateProcessorFactory" />
</updateRequestProcessorChain>
 <requestHandler name="/update" class="solr.UpdateRequestHandler">
  <lst name="defaults">
    <str name="update.chain">uima</str>
  </lst>
</requestHandler>

terminal error trace:

Mar 19, 2017 10:46:16 AM WhitespaceTokenizer typeSystemInit
INFO: "Whitespace tokenizer typesystem initialized"
Mar 19, 2017 10:46:16 AM WhitespaceTokenizer process
INFO: "Whitespace tokenizer starts processing"
Mar 19, 2017 10:46:16 AM WhitespaceTokenizer process
INFO: "Whitespace tokenizer finished processing"
Mar 19, 2017 10:46:16 AM
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisE
ngine_impl callAnalysisComponentProcess(405)
SEVERE: Exception occurred
org.apache.uima.analysis_engine.AnalysisEngineProcessException
        at
org.apache.uima.annotator.calais.OpenCalaisAnnotator.process(OpenCala
isAnnotator.java:206)
        at
org.apache.uima.analysis_component.CasAnnotator_ImplBase.process(CasA
nnotator_ImplBase.java:56)
        at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.cal
lAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:377)
        at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.pro
cessAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:295)
        at
org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterato
r.processUntilNextOutputCas(ASB_impl.java:567)
        at
org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterato
r.<init>(ASB_impl.java:409)
        at
org.apache.uima.analysis_engine.asb.impl.ASB_impl.process(ASB_impl.ja
va:342)
        at
org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.pro
cessAndOutputNewCASes(AggregateAnalysisEngine_impl.java:267)
        at
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(A
nalysisEngineImplBase.java:267)
        at
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(A
nalysisEngineImplBase.java:280)
        at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processText
(UIMAUpdateRequestProcessor.java:176)
        at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(
UIMAUpdateRequestProcessor.java:78)
        at
org.apache.solr.handler.loader.JavabinLoader$1.update(JavabinLoader.j
ava:97)
        at
org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec$1.read
OuterMostDocIterator(JavaBinUpdateRequestCodec.java:179)
        at
org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec$1.read
Iterator(JavaBinUpdateRequestCodec.java:135)
        at
org.apache
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB