XML Configuration Reference : Search : DynamicFullTextPrefixHandler
 
DynamicFullTextPrefixHandler
com.exalead.mercury.mami.search.v20.DynamicFullTextPrefixHandler
Deprecated)
Root class for prefix handlers searching for alphanumerical values in a dynamic field.
Parent elements:
com.exalead.mercury.mami.search.v20.MultiQueryPrefixHandler (as MultiQueryPrefixHandler)
com.exalead.mercury.mami.search.v20.UQLConfig (as UQLConfig)
Attributes:
Name
Type
Default value
Description
semanticContent
boolean
true
Is the content of this prefix "semantic"? If false, the content will not be tokenized nor passed through the linguistic expansion phase.
indexFields
string
Comma-separated list of index fields to be targeted by this prefix handler.
performMAX
boolean
Should we perform a MAX-like query rather than simple OR when targeting multiple fields?
patternMaxMatches
int
50
Max number of matches for the patterns under this prefix handler.
tokenizationConfig
string
Tokenization Config to use.
meta
string
Meta name to search within. If null, you need to use the syntax prefix:meta:VALUE
invalidValueAction
enum(remove, ignore, error)
error
What to do when an invalid numerical value is passed:
remove: removes the whole prefix XXX
ignore: ? XXX
error: fails the query
indexField
string
Index field to be targeted by this prefix.
name
string
Name of the prefix handler that should be handled. This is the prefix name that can be used in user queries. For example, the query prefix handler named 'soundslike' allows you to write this query: 'soundslike:fowbar'
aliases
string
Comma-separated list of aliases for this prefix handler. Any of these aliases can be used in the query for this prefix handler.
queryExpansionConfig
string
Specifies how to expand the text content of this prefix handler. Note that this is sometimes meaningless, if the content is not a semantic chunk of data.
dataModelState
string
Is this query prefix handler 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 QueryPrefixHandler.
dataModelProperty
string
If dataModelState is "auto" or "customized", you will find here the name of the DataModelProperty that generated this QueryPrefixHandler.
prefixMatch
boolean
The prefix handler matches all strings beginning with "name". For example, a prefix handler with name="prop" prefixMatch="true" will match "props:value" and "property:value".
matchingMode
enum(exact, lowercase, normalized, exact_lowercase, exact_lowercase_normalized, lowercase_normalized)
normalized
The matching mode defines how the query words are looked up in the index. Value can be null or one of
exact
lowercase
normalized
exact_lowercase
exact_lowercase_normalized
lowercase_normalized
Nested elements:
Name
Type
Description
fromDataModel
com.exalead.mercury.mami.search.v20.QueryPrefixHandler
If dataModelState is "customized", you will find here the original prefix handler generated by the data model. Use this to easily revert to "auto" state from "customized".