public function SearchApiSolrService::setConnectionClass in Search API Solr 7
Sets the Solr connection class used by this service.
Parameters
string $class: The name of a class which implements SearchApiSolrConnectionInterface.
File
- includes/
service.inc, line 2660
Class
- SearchApiSolrService
- Search service class using Solr server.
Code
public function setConnectionClass($class) {
$this->connection_class = $class;
$this->solr = NULL;
}