class CwpSolrConfigStore implements SolrConfigStore (View source)

Class SolrConfigStore_CWP

Uploads configuration to Solr via the PHP proxy CWP uses to filter requests

Methods

public
__construct($config)

No description

public
null
uploadFile($index, $file)

Upload a file to Solr for index $index

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

Upload a file to Solr from a string for index $index

public
instanceDir($index)

Get the instanceDir to tell Solr to use for index $index

Details

__construct($config)

No description

Parameters

$config

null uploadFile($index, $file)

Upload a file to Solr for index $index

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)

Upload a file to Solr from a string for index $index

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)

Get the instanceDir to tell Solr to use for index $index

Parameters

$index

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