public function dispatchEvent($name, SearchEvent $event, array $context = array())
    {
        $log = $this->getLogger();
        $context['event'] = $name;
        $log->debug('Throwing event', $context);
        $this->getDispatcher()->dispatch($name, $event);
        $log->debug('Event thrown', $context);
    }