Using specific characters as part of a word

Using specific characters as part of a word ensures that product names which can involve a series of alphanumeric characters, special characters and numbers can be searched on as a single word. For example, by enabling the '/' special character, the AS/400(R) or OS/390(R) platforms are searched on as whole words rather than as 'AS' and '400', or 'OS' and '390'.

For both types of configuration, switches are available. To customize the switches, change the .ini file template before creating an index.

The .ini file template is stored in sqllib/db2ext/cteixcfg.ini. As you can also make changes to this template file using the CREATE INDEX command, it is recommended that you only change the following:

UnicodeNormalization           - for character normalization
AccentNormalization            - for character normalization
UmlautNormalization            - for character normalization

AdditionalAlphanumCharacters   - for using specific characters as part of 
                                 a word

You are only permitted to change parameters listed in the .ini file.

Note that after such a change, every new index will work with the new configuration.

To activate the switches, remove the ";" from the beginning of the line. For further information, see the cteixcfg.ini file.