public function Solr36Connector::coreRestPost in Search API Solr 4.x
Sends a REST POST request to the Solr core and returns the result.
Parameters
string $path: The path to append to the base URI.
string $command_json: The command to send encoded as JSON.
\Solarium\Core\Client\Endpoint|null $endpoint:
Return value
string The decoded response.
Throws
\Drupal\search_api_solr\SearchApiSolrException
Overrides SolrConnectorPluginBase::coreRestPost
File
- modules/
search_api_solr_legacy/ src/ Plugin/ SolrConnector/ Solr36Connector.php, line 118
Class
- Solr36Connector
- Class Solr36Connector.
Namespace
Drupal\search_api_solr_legacy\Plugin\SolrConnectorCode
public function coreRestPost($path, $command_json = '', ?Endpoint $endpoint = NULL) {
return [];
}