interface SolrConfigStore (View source)

Class SolrConfigStore

The interface Solr_Configure uses to upload configuration files to Solr

Methods

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

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)