You are here

function DummySolr::__construct in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 tests/Dummy_Solr.php \DummySolr::__construct()
  2. 6.3 tests/Dummy_Solr.php \DummySolr::__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.

Overrides DrupalApacheSolrServiceInterface::__construct

File

tests/Dummy_Solr.php, line 300
Dummy object to simulate a Solr Service

Class

DummySolr
@file Dummy object to simulate a Solr Service

Code

function __construct($url, $env_id = NULL) {
}