XML Configuration Reference : Index : DateContentTarget
 
DateContentTarget
com.exalead.indexing.analysis.v10.DateContentTarget
DateContentTarget defines indexing a date.
Parent elements:
com.exalead.indexing.analysis.v10.ContextMapping (as ContextMapping)
Attributes:
Name
Type
Default value
Description
prefixWithContext
boolean
Enables prefixing of all words in inverted lists by 'contextName#'.
addStartEnd
boolean
Enables the introduction of a word __start__ before chunk content and a word __end__ after chunk content. Only valid if Chunk is mapped with semantic=true. This option is compatible with prefixContextName: produce contextName#__start__ and contextName#__end__)
indexPrefixes
boolean
Enables the indexing of all prefixes for each word with a score = prefixScore. The prefix can be mapped to a specific type if you add 'prefix' in formIndexingConfig.
prefixesScore
int
1
Score given to words' prefixes. The document relevance is determined by its score. The text matching score basically represents the "distance" between a search query and a document.
maxPrefixLength
int
Maximum length of the extracted prefixes.
indexSuffixes
boolean
Enables the indexing of all suffixes for each word with a score = suffixScore. The suffix can be mapped to a specific kind if you add 'suffix' in formIndexingConfig.
suffixesScore
int
1
Score given to words' prefixes. The document relevance is determined by its score. The text matching score basically represents the "distance" between a search query and a document.
maxSuffixLength
int
Maximum length of the extracted suffixes.
indexSubstrings
boolean
Enables the indexing of all substrings for each word with a score = substringScore. The suffix can be mapped to a specific kind if you add 'substring' in formIndexingConfig.
substringsScore
int
1
Score given to extracted substrings. Document relevance is determined by its score. The text matching score basically represents the "distance" between a search query and a document.
searchable
boolean
True
Marks the content of the DocumentChunk as indexed and searchable.
retrievable
boolean
True
Enables the content of the DocumentChunk to be directly stored in the index, so that it can be retrieved. For numerical values, retrievability allows you to sort results by field.
retrieveField
string
The index field in which the content will be stored. If null, the content will be put in 'indexField'.
indexNormalized
boolean
True
Enables the indexing of the normalized form of the word.
indexLowercase
boolean
Enables the indexing of the lowercase (non-normalized) form of each token.
indexExact
boolean
Enables the indexing of the exact (non-normalized) form of each token.
indexSeparators
boolean
Enables the indexing of the index standard separators. Indexed standard separators are: paragraph, sentence and page. Standard separators indexing is required for the SPLIT operator to work with these separators.
addBreakBetweenChunks
boolean
True
Enables the introduction of a break between document chunks by the indexer. 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
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.
inputFormat
string
Specifies the input format of the date, in UNIX date format. Set null value for automatic detection of standard formats.
Nested elements:
Name
Type
Description
DecreaseRankOnAnnotation
com.exalead.indexing.analysis.v10.DecreaseRankOnAnnotation*
List of DecreaseRankOnAnnotation
IncreaseRankOnAnnotation
com.exalead.indexing.analysis.v10.IncreaseRankOnAnnotation*
List of IncreaseRankOnAnnotation
RankOnAnnotation
com.exalead.indexing.analysis.v10.RankOnAnnotation*
List of RankOnAnnotation