Add fullnameCanonical column for trigram matching (fast searching)

This commit is contained in:
Mat
2018-10-23 16:18:09 +02:00
parent 7547f99063
commit 3599a94f94
3 changed files with 88 additions and 1 deletions

View File

@@ -113,7 +113,12 @@ class Person implements HasCenterInterface {
* @var \Doctrine\Common\Collections\Collection
*/
private $addresses;
/**
* @var string
*/
private $fullnameCanonical;
public function __construct(\DateTime $opening = null) {
$this->accompanyingPeriods = new ArrayCollection();
$this->spokenLanguages = new ArrayCollection();