raise the similarity matcher percentage

This commit is contained in:
Julie Lenaerts 2022-08-09 12:06:25 +02:00
parent e42355c0d1
commit b1bfb2dd95

View File

@ -27,15 +27,9 @@ class SimilarPersonMatcher
public const SIMILAR_SEARCH_ORDER_BY_SIMILARITY = 'similarity';
/**
* @var AuthorizationHelper
*/
protected $authorizationHelper;
protected AuthorizationHelper $authorizationHelper;
/**
* @var EntityManagerInterface
*/
protected $em;
protected EntityManagerInterface $em;
protected PersonNotDuplicateRepository $personNotDuplicateRepository;
@ -62,7 +56,7 @@ class SimilarPersonMatcher
public function matchPerson(
Person $person,
float $precision = 0.15,
float $precision = 0.35,
string $orderBy = self::SIMILAR_SEARCH_ORDER_BY_SIMILARITY,
bool $addYearComparison = false
) {