UIMAToSolrMapper (Solr 3.6.2 API)
Keywords: org.apache.solr.uima.processor.UIMAToSolrMapper class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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$

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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD