mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
Compare commits
3 Commits
0f62997e70
...
1dc17a7e75
Author | SHA1 | Date | |
---|---|---|---|
|
1dc17a7e75 | ||
|
e50b75c8ae | ||
|
49a829f7c9 |
@ -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": {
|
||||
|
@ -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'];
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user