org.apache.solr.uima.processor
Class UIMAToSolrMapper
java.lang.Object
org.apache.solr.uima.processor.UIMAToSolrMapper
public class UIMAToSolrMapper
- extends Object
Map UIMA types and features over fields of a Solr document
- Version:
- $Id$
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 |
UIMAToSolrMapper
public UIMAToSolrMapper(SolrInputDocument document,
org.apache.uima.jcas.JCas cas)
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 mapfeatureFieldsmapping
-
- Throws:
FieldMappingException