The Oracle Endeca Server selects words for the spelling dictionary based on predefined constraints. Modifying these constraints can be useful for improving performance of spell-corrected searches.
The constraint settings are available in the Global Configuration Record.
You can use these configuration settings to tune and improve the types of spelling corrections produced by the Oracle Endeca Server. For example, setting the minimum number of word occurrences can direct the attention of the spelling correction algorithm away from infrequent terms and towards more popular (frequently occurring) terms, which might be deemed more likely to correspond to intended user search terms.
To configure the settings which the Dgraph process of the Oracle Endeca Server uses to generate spelling dictionary entries:
Attribute | Type | Description |
---|---|---|
mdex-config_SpellingRecordMinWordOccur | Int | Specifies the minimum number of times a word must occur in a standard attribute value (record assignment on an attribute) for it to be indexed for spelling correction. The default value is 4. |
mdex-config_SpellingRecordMinWordLength | Int | Specifies the minimum number of characters that a word must contain in a standard attribute value (record assignment on an attribute) for it to be indexed for spelling correction. The default value is 3. |
mdex-config_SpellingRecordMaxWordLength | Int | Specifies the maximum number of characters that a word may contain for it to be indexed for spelling correction. The default value is 16. |
mdex-config_SpellingDValMinWordOccur | Int | Specifies the minimum number of times a word must occur in a managed attribute value for it to be indexed for spelling correction. The default value is 1. |
mdex-config_SpellingDValMinWordLength | Int | Specifies the minimum number of characters that a word must contain in a managed attribute value for it to be indexed for spelling correction. The default value is 3. |
mdex-config_SpellingDValMaxWordLength | Int | Specifies the maximum number of characters that a word may contain for it to be indexed for spelling correction. The default value is 16. |