Configuring minimum wildcard search length validation

You can define the number of non-wildcard characters in a search in order to improve the quality of the results.

Before you begin

A number of search criteria fields support the use of wildcard (“%”) and lookalike (“?”) characters. However a search that contains too many wildcard or lookalike characters can return a poor quality result, for example a search on the last name “S%” would return too many results to be useful.

To avoid this you can use a External Validation validator to define and enforce a minimum number non-wildchard characters in a search.

About this task

The validator com.dwl.tcrm.validation.validator.MinWildcardSearchLen can be applied against any element on the TCRMPersonSearchBObj, TCRMOrganizationSearchBObj and TCRMFSPartySearchBObj groups. The parameter that specifies the minimum number of non-wildcard characters (“%” and “?”) is MinWildcardSearchLen.