Search/SearchProvider.php
public function getByName($name)
    {
        if (isset($this->searchServices[$name])) {
            return $this->searchServices[$name];
        } else {
            throw new UnknowSearchNameException($name);
        }
    }
public function getByName($name)
    {
        if (isset($this->searchServices[$name])) {
            return $this->searchServices[$name];
        } else {
            throw new UnknowSearchNameException($name);
        }
    }
public function getByName ( $ name ) { if ( isset ( $ this -> searchServices [ $ name ] ) ) { return $ this -> searchServices [ $ name ] ; } else { throw new UnknowSearchNameException ( $ name ) ; } }
return search services with a specific name, defined in service
definition.

@return SearchInterface
@throws UnknowSearchNameException if not exists
return search services with a specific name defined in service definition .