Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "SolrUIMA" page has been changed by TommasoTeofili. http://wiki.apache.org/solr/SolrUIMA?action=diff&rev1=1&rev2=2 -------------------------------------------------- - = Solr UIMA module = + = Solr UIMA integration = Solr UIMA contrib enables enhancing of Solr documents using the Unstructured Information Management Architecture ([[http://uima.apache.org|UIMA]]). UIMA lets you define custom pipelines of Analysis Engines which incrementally add metadata to the document via annotations. + == SolrUIMA UpdateReuqestProcessor == + The SolrUIMA UpdateRequestProcessor is a custom UpdateRequestProcessor that takes document(s) being indexed, sends them to a UIMA pipeline and then returns the document(s) enriched with the specified metadata. + All the SolrUIMA configuration is placed inside a <uimaConfig> element inside the solrconfig.xml. + + {{{ + <uimaConfig> + <runtimeParameters> + <!-- here go parameters defined in the AE which override parameters in the delegate AEs --> + ... + </runtimeParameters> + <analysisEngine><!-- here goes the AE path in the classpath --></analysisEngine> + <analyzeFields merge="true"><!-- comma separated list of fields of the original document to analyze --></analyzeFields> + <fieldMapping> + <!-- here goes the mapping between features of UIMA FeatureStructures to Solr fields --> + <type name="org.apache.uima.something.Annotation"> + <map feature="oneFeature" field="destination_field"/> + </type> + ... + </fieldMapping> + </uimaConfig> + }}} + + + + see [[https://issues.apache.org/jira/browse/SOLR-2129|SOLR-2129]] + + + == Solrcas == + This is a UIMA component, see [[http://svn.apache.org/repos/asf/uima/sandbox/trunk/Solrcas/|SVN]] For a deepest dive into UIMA please take a look at the [[http://uima.apache.org/documentation.html|documentation]]