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($index, $file)

No description

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

No description

public
instanceDir($index)

No description

Details

__construct(array $config)

No description

Parameters

array $config

null uploadFile($index, $file)

No description

Parameters

$index

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

$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($index, $filename, $string)

No description

Parameters

$index

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

$filename

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

$string

Return Value

null

instanceDir($index)

No description

Parameters

$index

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