XML Configuration Reference : Index : CustomContentTarget
 
CustomContentTarget
com.exalead.indexing.analysis.v10.CustomContentTarget
CustomerContentTarget defines indexing by a custom 'Index Kind'.
Parent elements:
com.exalead.indexing.analysis.v10.ContextMapping (as ContextMapping)
Attributes:
Name
Type
Default value
Description
indexField
string
The indexField to populate with this content. If null, the contextName of the DocumentChunk will be used for the index field.
forcedRank
long
Sets the ranking value for chunks in this mapping. -1 means that the chunk internal ranking value is kept.
rankBoost
long
Offsets the chunk internal ranking value. Use it only when forcedRank = -1 For example, if forcedRank=-1, rankBoost=2, and the chunk internal ranking value is 4, the final rank will be 6.
searchable
boolean
True
If true, the content of the DocumentChunk will be indexed and searchable.
retrieveField
string
The index field in which the content will be stored. If null, the content will be put in 'indexField'.
retrievable
boolean
True
Stores the content of the DocumentChunk directly in the index, so that it can be retrieved. For numerical values, retrievability enables to sort results by field.
indexKind
int
Index 'Kind' to use for indexing content.
addBreakBetweenChunks
boolean
True
If true, the indexer introduces a break between document chunks. This forbids phrase matching across these chunks and has an impact on search when using double-quotes expressions or the 'NEXT' operator. For example, if a document has a "title" chunk containing "foo" and a "text" chunk containing "bar", and they are both remapped to the text field:
If addBreakBetweenChunks is false, then the document will match on the query "foo bar", foo NEXT bar
If addBreakBetweenChunks is true, then the document will not match the query "foo bar" nor foo NEXT bar but will match the query foo AND bar