protected function applySecurityFilter($elasticaQueryBool)
    {
        $roles = $this->getCurrentUserRoles();

        $elasticaQueryRoles = new Query\Terms();
        $elasticaQueryRoles
            ->setTerms('view_roles', $roles);
        $elasticaQueryBool->addMust($elasticaQueryRoles);
    }