Hi,
FieldId needs to be passed In the Sortdefinition for the resultdefinition.
Since Score field is displayed in the DataManager,but using MDM API 5.5,im getting as int value from MatchingResult.getHighestScore() .
How do I sort the matching result by Score?? do i need to right a seperate logic for it,or in API is already there and do i missed it?.
RetrieveMatchedRecordsCommand retrieveMatchedRecordcmd = new RetrieveMatchedRecordsCommand(connectionPool);
retrieveMatchedRecordcmd.setSession(userSessionId);
retrieveMatchedRecordcmd.setMatchingTaskId(matchTaskId);
retrieveMatchedRecordcmd.setRecordId(sourceRecIds[0]);
retrieveMatchedRecordcmd.setResultDefinition(resultDefinition);
retrieveMatchedRecordcmd.execute();
Regards
Sabari