Match keys are generated using a Match Key Code (MKC). This describes the address component field data that should be used to generate the match key.
The data definition for each field contains four components:
-
The field number, which is specified using the numeric equivalent of the field value in the Optima Field Type (OFT) enumeration
-
The reading direction, which is either 'L' for left, or 'R' for right
-
The character count
-
The character type, which is either:
-
A for alpha
-
N for numeric
-
C for consonants
-
V for vowels
-
B for alphanumeric
-
E for everything
-
For example:
[22,L,20,B][19,L,5,A][14,L,5,N][15,L,5,A]
means match keys will be generated using:
-
the leftmost 20 alphanumeric characters from the postcode
-
the leftmost 5 alpha characters from the city
-
the leftmost 5 numeric characters from the premise
-
the leftmost 5 alpha characters from the street