Call this method to specify the search type for this criterion. The search type specifies how the search is performed on the postal reference data.
The following search types are available. (Refer to Table 5-1 for examples of how the different search types look for the city name “sacramento.”)
EXACT_SEARCH: The search will return results where an exact match is found between the search field in the postal reference data and this criterion's search value.
EXACT_COMPLETE_SEARCH: The search will return results where an exact match is found between the first part of the search field in the postal reference data and this criterion's search value.
APPROX_SEARCH: The search will return results where an approximate match is found between the search field in the postal reference data and this criterion's search value.
APPROX_COMPLETE_SEARCH: The search will return results where an approximate match is found between the first part of the search field in the postal reference data and this criterion's search value.
NOT_EXACT_SEARCH: The search will perform the inverse of an EXACT_SEARCH.
NOT_EXACT_COMPLETE_SEARCH: The search will perform the inverse of an EXACT_COMPLETE_SEARCH.
NOT_APPROX_SEARCH: The search will perform the inverse of an APPROX_SEARCH.
NOT_APPROX_COMPLETE_SEARCH: The search will perform the inverse of an APPROX_COMPLETE_SEARCH.
|
EXACT |
EXACT_COMPLETE |
APPROX |
APPROX_COMPLETE |
---|---|---|---|---|
sacramento |
Yes |
Yes |
Yes |
Yes |
sacra |
No |
Yes |
No |
No |
sucreminto |
No |
No |
Yes |
Yes |
sucr |
No |
No |
No |
Yes |