SilverStripe\FullTextSearch\Solr\Stores\SolrConfigStore::uploadFile
Upload a file to Solr for index $index
Signature
public function uploadFile(string
$index,
string
$file )
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
Returns
- null