Character Map Commands
maplist
The maplist command will return a list of all the character maps loaded in the matching engine.
mapcreate –mapname <name> [-mapchars <map-file>] [-foldcase] [-folddiacritics] [-punctuation <c>] [-whitespace <c>]
The mapcreate command will create a character map in the matching engine. Once created the character map can be used in tblload commands as the character map applied to a field. Options are:
|
-mapname <name> |
the unique identifying name for this character map. |
|
-mapchars <map-file> |
used to set explicit character mappings. Map-file is the name of a file that consists of sets of 3 characters: <from><to><new-line> specifying that character from is mapped to character to before comparing strings. The new-line character is used to visually separate the map character sets. So the file consists of a set of lines consisting of exactly two characters. (Except that either from or to may be the new-line character.) |
|
-foldcase |
if this is present all letters are mapped to a common letter case. |
|
-folddiacritics |
if present diacritic marks are stripped from letters. |
|
-punctuation |
if present all punctuation characters are mapped to the character c. |
|
-whitespace |
if present all whitespace characters are mapped to the character c. |