XML Configuration Reference : Search : PatternsExpansionConfig
 
PatternsExpansionConfig
com.exalead.search.v30.PatternsExpansionConfig
No documentation for this element.
Parent elements:
com.exalead.mercury.mami.search.v20.UQLConfig (as UQLConfig)
Attributes:
Name
Type
Default value
Description
performRegexpExpansion
boolean
Allows query expansion on regular expressions.
minPrefixSize
int
3
Minimum number of characters required before wilcard (*) for pattern expansion to be carried out.
minSuffixSize
int
3
Minimum number of characters required after wilcard (*) for pattern expansion to be carried out.
expansionTimeout
long
Query expansion timeout for each pattern.
allLanguages
boolean
Performs query expansion on all languages, whatever the language of the orignal query.
rejectedPatternAction
enum(normalize, remove, error, keep)
error
Action to perform when a pattern is rejected (because the prefix or suffix is too short, or the regular expression is disabled):
normalize: Transforms the pattern into a simple string match.
remove: Removes the pattern from the query.
error: Returns an error.
rejectedPatternReportMode
enum(quiet, local, global)
local
Specifies how to report a rejected pattern error in 'Troubleshooting > Logs':
quiet: No log.
local: Error is reported in the Process log.
global: Error is reported in both Process and Global logs.
errorAction
enum(normalize, remove, error)
error
Action to take when expansion fails:
normalize: Transforms the pattern into a simple string match.
remove: Removes the pattern from the query.
error: Returns an error.
errorReportMode
enum(quiet, local, global)
local
Specifies how to report an expansion error in 'Troubleshooting > Logs':
quiet: No log.
local: Error is reported in the Process log.
global: Error is reported in both Process and Global logs.