Perform the following tasks to implement a simple search application:
Call SSA-NAME3 API
ssan3_get_ranges
to generate ranges based on the search input. The input request may contain information about a Person Name, Organization Name, Address, or a combination. The call to
ssan3_get_ranges
API should pass
Field=Generic_Field
.
With the ranges returned by
ssan3_get_ranges
API, retrieve the source record references from the index table. These source record references now become the file records. Optionally, if an entity type was stored along with the keys, use it to filter the ranges returned by entity type.
For each candidate record, call
ssan3_match
function and pass the function to the search record and file record. The call to
ssan3_match
function should use
Generic
as the SSA-NAME3 purpose.
Process the results using score and decision returned by to