The set of text management features that Guided Search supports varies from language to language.

To prevent queries in one language from being spell-corrected according to the conventions of a different language, you must configure spelling correction for each particular language.

You configure spelling correction for particular languages when you tag your data with language IDs. Guided Search generates a language-specific dictionary for any data that has been tagged with a language ID. To find the correct spellings in the language specified by a particular language ID, the spelling correction feature consults the dictionary for that language.

If all properties within a Search interface are in the same language, spelling correction will correct words by suggesting other words in these properties. If you use record filters to return records only in a particular language, spelling correction will correct words only by suggesting words that occur in these records.

In addition to requiring a language-specific dictionary to reference, spelling correction also requires that dgidx be configured to use the proper spelling mode. Select a spelling mode option for dgidx by specifying one of the parameters to the dgidx --spellmode option listed in the following table.

For example, to select the espell mode, use the following command:

dgidx --spellmode espell

You can discover which spelling mode works best for an alphabetic language other than English by testing the following spelling modes with data in that language: espell, aspell, aspell_OR_espell, and aspell_AND_espell.


Copyright © Legal Notices