lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PacoPeralta <>
Subject Solr + DictionaryAnnotator UIMA
Date Wed, 08 Jun 2011 09:16:22 GMT
I'm trying to integrate DictionaryAnnotator into the  UIMA module of Solr
For this purposes I have rebuild apache-solr-uima-3.2.0.jar with changes
detailed bellow:

1.-Modified OverridingParamsExtServicesAE.xml file as follow:

 Added the next section into <delegateAnalysisEngineSpecifiers>:

<delegateAnalysisEngine key="DictionaryAnnotator">
      <import name="DictionaryAnnotator"/>

2.- Modified the <flowConstraints> sections for adding DictionaryAnnotator 

3.- Added org/apache/uima/desc/DictionaryAnnotator.xml

4.- Added org/apache/uima/desc/dictionary.xml with words for testing
Dictionay Annotators

5.- Generated the file apache-solr-uima-3.2.0.jar

Then I modified solrconfig.xml to add the next FieldMapping:
 <lst name="type">
            <str name="name">org.apache.uima.TokenAnnotation</str>
            <lst name="mapping">
              <str name="feature">tokenType</str>
              <str name="field">dic_field</str>

After these steps I don't get the expected results.

Did I need to take any additional steps?

Best Regards

View this message in context:
Sent from the Lucene - General mailing list archive at

View raw message