public function persist(CachedSearchResult $cachedSearchResult): void
    {
        $cachedSearchResult = $this->entityManager->merge($cachedSearchResult);
        $this->entityManager->persist($cachedSearchResult);
        $this->entityManager->flush();
    }