XML Configuration Reference : Search : SuggestBuildConfig
 
SuggestBuildConfig
com.exalead.mercury.mami.search.v20.SuggestBuildConfig
Suggest build options
Parent elements:
com.exalead.mercury.mami.search.v20.BuildableSuggest (as BuildableSuggest)
com.exalead.mercury.mami.search.v20.CSVIndexFieldSuggest (as CSVIndexFieldSuggest)
com.exalead.mercury.mami.search.v20.CategoryPathSuggest (as CategoryPathSuggest)
com.exalead.mercury.mami.search.v20.CategorySuggest (as CategorySuggest)
com.exalead.mercury.mami.search.v20.CategoryTitleSuggest (as CategoryTitleSuggest)
com.exalead.mercury.mami.search.v20.DynamicFieldSuggest (as DynamicFieldSuggest)
com.exalead.mercury.mami.search.v20.EnoviaSecureDynamicFieldSuggest (as EnoviaSecureDynamicFieldSuggest)
com.exalead.mercury.mami.search.v20.IndexFieldSuggest (as IndexFieldSuggest)
com.exalead.mercury.mami.search.v20.QueryReportingSuggest (as QueryReportingSuggest)
com.exalead.mercury.mami.search.v20.RelatedTermsSuggest (as RelatedTermsSuggest)
com.exalead.mercury.mami.search.v20.SearchBasedSuggest (as SearchBasedSuggest)
Attributes:
Name
Type
Default value
Description
subExpr
boolean
Finds matches on every start of word. For example, "first test" will be returned both for "fir" and for "tes".
subString
boolean
Finds matches on every letter. For example, "first test" will be returned for "fir", for "rs", for "es", ...
splitSentence
boolean
Breaks up a suggest entry into several entries, and performs matches independently on the chunks. If the entry is multi-sentence, an entry will be created for each sentence.
splitNGrams
int
Breaks up a suggest entry into several entries, and performs matches independently on the chunks. A sliding window of ngrams of a given size will be created, and an entry will be created for each step of the window. For example, "a b c d e f" with a split on 4-grams will give entries "a b c d", "b c d e" and "c d e f". 0 means no splitting. This action is performed after the sentence split if the Sentence split option is selected.
computePermutation
boolean
Computes all permutations for an entry and adds them as separate entries. This action is performed after the sentence split if the Sentence split option is selected. Note that entries longer than 8 words will not be permuted for performance reasons (would generate n! entries)
maxEntryLength
int
50
Maximum number of characters in a suggest entry. This is a security measure to prevent overly-long entries. They are automatically truncated after the specified length. 0 means no limit.
maxSuggestions
int
10
The maximum number of suggestions that can be shown to the user for a given input string. You cannot change this dynamically.
nbUrlsPerEntry
int
3
Defines the maximum number of URL to be stored for each entry.
tokenizationConfig
string
Tokenization Config to use.
sanitizeEntries
boolean
Strips the entry of punctuation, and encloses any UQL operator between quotes.
buildAfterIndexImport
boolean
Triggers a build automatically after the index refreshes.
secure
boolean
Makes use of documents and users' security tokens to restrict suggestions.
securityModel
enum(default, enovia)
default
Enables the enovia-specific handling of security tokens.