class CwpSolrConfigStore implements SolrConfigStore (View source)

deprecated 1.2.0 Use SolrConfigStore_Post in silverstripe/fulltextsearch instead

Properties

protected string $remote
protected string $url

Methods

public
__construct(array $config)

No description

public
null
uploadFile(mixed $index, mixed $file)

No description

public
null
uploadString(mixed $index, mixed $filename, $string)

No description

public
instanceDir(mixed $index)

No description

Details

__construct(array $config)

No description

Parameters

array $config

null uploadFile(mixed $index, mixed $file)

No description

Parameters

mixed $index

string - The name of an index (which is also used as the name of the Solr core for the index)

mixed $file

string - A path to a file to upload. The base name of the file will be used on the remote side

Return Value

null

null uploadString(mixed $index, mixed $filename, $string)

No description

Parameters

mixed $index

string - The name of an index (which is also used as the name of the Solr core for the index)

mixed $filename

string - The base name of the file to use on the remote side

$string

Return Value

null

instanceDir(mixed $index)

No description

Parameters

mixed $index

string - The name of an index (which is also used as the name of the Solr core for the index)