XML Configuration Reference : Index : AnnotationMapping
 
AnnotationMapping
com.exalead.indexing.analysis.v10.AnnotationMapping
Defines how SemanticAnnotations are used to populate index fields.
Parent elements:
com.exalead.indexing.analysis.v10.MappingConfiguration (as MappingConfiguration)
Attributes:
Name
Type
Default value
Description
name
string
Name of the SemanticAnnotation to map.
context
string
Optional input context restricting the mapping from the annotations coming from a specific context. Incompatible with the patternMatch feature.
patternMatch
boolean
Matches all annotations matching this pattern (must be a valid regular expression).
dataModelState
string
Is this annotation target managed by a data model? @enum{null,auto,customized}. If null, this annotation mapping is not related to a data model. If "auto", this annotation mapping is auto-generated by a data model If "customized", this annotation mapping was auto-generated by a data model and then customized.
dataModelClass
string
If dataModelState is "auto" or "customized", you will find here the name of the DataModelClass that generated this annotation mapping.
dataModelProperty
string
If dataModelState is "auto" or "customized", you will find here the name of the DataModelProperty that generated this annotation mapping.
Nested elements:
Name
Type
Description
fromDataModel
com.exalead.indexing.analysis.v10.AnnotationMapping
If dataModelState is "customized", you will find here the original annotation mapping generated by the data model. Use this to easily show what reverting to "auto" from "customized" would imply
AnnotationTarget
com.exalead.indexing.analysis.v10.AnnotationTarget*