protected function getZendServiceManager()
    {
        if (is_null($this->services)) {
            $options = $this->getOptions();
            $options['services']['search.options']['model'] = $this->model;
            $config         = new Config($options);
            $this->services =  new ServiceManager($config);
        }
        return $this->services;
    }