fix: ask for core instead of path
This commit is contained in:
@@ -17,8 +17,10 @@ class BookSearch
|
||||
/** @var array parts of the filter query, parameter 'fq' */
|
||||
private $filterQueryParts = array();
|
||||
|
||||
public function __construct(string $hostname, int $port, string $login, string $password, string $path, $edismax = true)
|
||||
public function __construct(string $hostname, int $port, string $login, string $password, string $core, $edismax = true)
|
||||
{
|
||||
$path = 'solr/' . $core;
|
||||
|
||||
$options = compact('hostname', 'port', 'login', 'password', 'path');
|
||||
|
||||
$this->client = new \SolrClient($options);
|
||||
|
||||
Reference in New Issue
Block a user