function DrupalApacheSolrServiceInterface::__construct in Apache Solr Search 8
Same name and namespace in other branches
- 6.3 apachesolr.interface.inc \DrupalApacheSolrServiceInterface::__construct()
- 7 apachesolr.interface.inc \DrupalApacheSolrServiceInterface::__construct()
Constructor
Parameters
$url: The URL to the Solr server, possibly including a core name. E.g. http://localhost:8983/solr/ or https://search.example.com/solr/core99/
$env_id: The machine name of a corresponding saved configuration used for loading data like which facets are enabled.
2 methods override DrupalApacheSolrServiceInterface::__construct()
- DrupalApacheSolrService::__construct in ./
Drupal_Apache_Solr_Service.php - Constructor
- DummySolr::__construct in tests/
Dummy_Solr.php - Constructor
File
- ./
apachesolr.interface.inc, line 394
Class
- DrupalApacheSolrServiceInterface
- The interface for all 'Service' objects.
Code
function __construct($url, $env_id = NULL);