XML Configuration Reference : Index : ContextMapping
 
ContextMapping
com.exalead.indexing.analysis.v10.ContextMapping
ContextMapping specifies how DocumentChunks with a given ContextName are remapped to index fields and whether they are used to populate the dictionary.
Parent elements:
com.exalead.indexing.analysis.v10.MappingConfiguration (as MappingConfiguration)
Attributes:
Name
Type
Default value
Description
name
string
ContextName of the DocumentChunks to map.
prefixMatch
boolean
Matches all context that starts with this prefix.
unprefix
boolean
Remove the prefix that was used to match.
patternMatch
boolean
Matches all context matching this pattern (must be a valid regular expression).
semantic
boolean
True
Performs semantic processing on the DocumentChunks processed by this mapping. If false, the textual content of the DocumentChunks will not be tokenized before indexing. This can be used to index 'exact raw values'.
resourceFreq
int
1
To extract a resource, select the frequency to add. For example, if you have a 'firstname lastname' entry, you may want to simulate a frequency of 1000 to avoid spellcheck on this entry.
tokenizationConfig
string
dataModelState
string
Is this content target managed by a data model? @enum{null,auto,customized}. If null, this context mapping is not related to a data model. If "auto", this context mapping is auto-generated by a data model If "customized", this context 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 context mapping.
dataModelProperty
string
If dataModelState is "auto" or "customized", you will find here the name of the DataModelProperty that generated this ContextMapping
Nested elements:
Name
Type
Description
fromDataModel
com.exalead.indexing.analysis.v10.ContextMapping
If dataModelState is "customized", you will find here the original context mapping generated by the data model. Use this to easily show what reverting to "auto" from "customized" would imply.
Target
com.exalead.indexing.analysis.v10.Target*