org.apache.solr.uima.processor
Class UIMAToSolrMapper

java.lang.Object
  extended by org.apache.solr.uima.processor.UIMAToSolrMapper

public class UIMAToSolrMapper
extends Object

Map UIMA types and features over fields of a Solr document

Version:
$Id$

Constructor Summary
UIMAToSolrMapper(SolrInputDocument document, org.apache.uima.jcas.JCas cas)
           
 
Method Summary
 void map(String typeName, Map<String,org.apache.solr.uima.processor.SolrUIMAConfiguration.MapField> featureFieldsmapping)
          map features of a certain UIMA type to corresponding Solr fields based on the mapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIMAToSolrMapper

public UIMAToSolrMapper(SolrInputDocument document,
                        org.apache.uima.jcas.JCas cas)
Method Detail

map

public void map(String typeName,
                Map<String,org.apache.solr.uima.processor.SolrUIMAConfiguration.MapField> featureFieldsmapping)
         throws FieldMappingException
map features of a certain UIMA type to corresponding Solr fields based on the mapping

Parameters:
typeName - name of UIMA type to map
featureFieldsmapping -
Throws:
FieldMappingException