Merge branch '4.0' into 4

This commit is contained in:
Steve Boyd 2024-03-26 18:48:19 +13:00
commit 1dc17a7e75
3 changed files with 27 additions and 1 deletions

View File

@ -26,7 +26,7 @@
"monolog/monolog": "^3.2",
"silverstripe/solr-php-client": "^1",
"symfony/process": "^6.2",
"silverstripe/silverstripe-proxy-db": "^2",
"tractorcow/silverstripe-proxy-db": "^2",
"ext-curl": "*"
},
"require-dev": {

View File

@ -10,6 +10,19 @@ namespace SilverStripe\FullTextSearch\Solr\Stores;
*/
class SolrConfigStore_File implements SolrConfigStore
{
/**
* @var string
*/
public $remote;
/**
* @var string
*/
public $local;
/**
* @param array $config
*/
public function __construct($config)
{
$this->local = $config['path'];

View File

@ -12,6 +12,19 @@ use SilverStripe\FullTextSearch\Utils\WebDAV;
*/
class SolrConfigStore_WebDAV implements SolrConfigStore
{
/**
* @var string
*/
public $remote;
/**
* @var string
*/
public $url;
/**
* @param array $config
*/
public function __construct($config)
{
$options = Solr::solr_options();