ConfigStore
in
Interface ConfigStore
Table of Contents
Methods
- getPath() : string
- Get the path of where the index configuration is stored
- instanceDir() : string
- Get the instanceDir to tell Solr to use for index $index
- uploadFile() : null|ResponseInterface
- Upload a file to Solr for index $index
- uploadString() : null|ResponseInterface
- Upload a file to Solr from a string for index $index
Methods
getPath()
Get the path of where the index configuration is stored
public
getPath() : string
Return values
stringinstanceDir()
Get the instanceDir to tell Solr to use for index $index
public
instanceDir(string|null $index) : string
Parameters
- $index : string|null
-
- The name of an index (which is also used as the name of the Solr core for the index)
Return values
stringuploadFile()
Upload a file to Solr for index $index
public
uploadFile( $index, $file) : null|ResponseInterface
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 values
null|ResponseInterfaceuploadString()
Upload a file to Solr from a string for index $index
public
uploadString(string $index, string $filename, string $string) : null|ResponseInterface
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 : string
-
- The content to upload