@Implementable
public interface PersonMatch
PersonMatchInputMappingStrategy
.
The default implementation of the PersonMatch
interface leverages the
lucene infrastructure as the means of a performant person search mechanism.
Version: 7.0.0.0
The check for whether lucene is turned on or not has been encapsulated within
the default implementation. Previously, this check was performed in the
calling API(s). This, together with the fact that the API was not marked as
AccessLevelType.EXTERNAL
, meant that customers wanting to provide
their own non-lucene based implementation of the PersonMatch
interface were constrained from doing so. The out-of-the-box APIs which
invoke searchAndMatch(PersonMatchSearchInputDetails)
and
searchAndMatch(PersonMatchSearchInputDetails, int)
have
been updated to not perform the lucene check first. If lucene is not
turned on, an empty list is returned from the search APIs.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
kCaretSymbol
The string value for the caret symbol, used for applying weights to field
values when searching using lucene.
|
static java.lang.String |
kLuceneNotOperator
The string value for the Not operator used for lucene search queries.
|
Modifier and Type | Method and Description |
---|---|
curam.personmatch.facade.struct.PersonMatchSearchResults |
searchAndMatch(curam.personmatch.facade.struct.PersonMatchSearchInputDetails inputDetails)
Searches for Person records that match the input details provided and sorts
the results into two list, conclusiveMatches and inconclusiveMatches.
|
curam.personmatch.facade.struct.PersonMatchSearchResults |
searchAndMatch(curam.personmatch.facade.struct.PersonMatchSearchInputDetails inputDetails,
int maxHits)
Searches for Person records that match the input details provided and sorts
the results into two list, conclusiveMatches and inconclusiveMatches.
|
static final java.lang.String kCaretSymbol
static final java.lang.String kLuceneNotOperator
curam.personmatch.facade.struct.PersonMatchSearchResults searchAndMatch(curam.personmatch.facade.struct.PersonMatchSearchInputDetails inputDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
PersonMatchSearchCriteria
are the fields used
for the search and the weights assigned to each field are used to calculate
the score for each record returned.inputDetails
- The details to use as part of the search.curam.util.exception.InformationalException
- Generic Application Exception.curam.util.exception.AppException
- Generic Application Exception.curam.personmatch.facade.struct.PersonMatchSearchResults searchAndMatch(curam.personmatch.facade.struct.PersonMatchSearchInputDetails inputDetails, int maxHits) throws curam.util.exception.AppException, curam.util.exception.InformationalException
PersonMatchSearchCriteria
are the fields used
for the search and the weights assigned to each field are used to calculate
the score for each record returned.inputDetails
- The details to use as part of the search.maxHits
- The maximum number of records that should be returned from the
searchcuram.util.exception.InformationalException
- Generic Application Exception.curam.util.exception.AppException
- Generic Application Exception.