public function SearchApiSolrConnectionInterface::update in Search API Solr 7
Sends a raw update request to the Solr server.
Takes a raw post body and sends it to the update service. Post body should be a complete and well-formed XML document.
Parameters
string $rawPost: The XML document to send to the Solr server's update service.
int|false $timeout: (optional) Maximum expected duration (in seconds).
Return value
object A response object.
Throws
SearchApiException If an error occurs during the service call
1 method overrides SearchApiSolrConnectionInterface::update()
- SearchApiSolrConnection::update in includes/
solr_connection.inc - Sends a raw update request to the Solr server.
File
- includes/
solr_connection.interface.inc, line 169
Class
- SearchApiSolrConnectionInterface
- The interface for a Solr connection class.
Code
public function update($rawPost, $timeout = 3600);