XML Configuration Reference : Index : CategoryAnnotationTarget
 
CategoryAnnotationTarget
com.exalead.indexing.analysis.v10.CategoryAnnotationTarget
CategoryAnnotationTarget is used to create a new category path inside an index category field, out of a SemanticAnnotation. The category path is built by the concatenation of the 'categoryRoot' and the selected 'form' of the annotation.
Parent elements:
com.exalead.indexing.analysis.v10.AnnotationMapping (as AnnotationMapping)
Attributes:
Name
Type
Default value
Description
indexField
string
forcedRank
long
rankBoost
long
form
string
normalized
Which form of SemanticAnnotation value should we index? {@code enum(exact,normalized)}
dataModelState
string
Is this annotation target managed by a data model? @enum{null,auto,customized}. If null, this prefix handler is not related to a data model. If "auto", this prefix handler is auto-generated by a data model. If "customized", this prefix handler 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 AnnotationTarget.
dataModelProperty
string
If dataModelState is "auto" or "customized", you will find here the name of the DataModelProperty that generated this AnnotationTarget.
categoryRoot
string
Prefix used to build the CategoryPath.
categoryAppend
boolean
True
Builds the category path by concatenating the categoryRoot and the selected 'form' of the annotation. If false, only the category root will be used.
appendAnnotationNameToRoot
boolean
Appends the annotation name between the root and the value.
retrievable
boolean
If true, the category path is retrievable and can be used to create facets. If false, the category path is only searchable. (Advanced usage. langdate hacks)
cleanupContent
boolean
True
Removes trailing and leading spaces. Removes category path without AlphaNum character.
detectTitle
boolean
Detect words set after # in path and use them as title
Nested elements:
Name
Type
Description
fromDataModel
com.exalead.indexing.analysis.v10.AnnotationTarget
If dataModelState is "customized", you will find here the original prefix handler generated by the data model. Use this to easily see what reverting to "auto" from "customized" would imply.