You are here

public function SearchApiSolrConnectionInterface::deleteByMultipleIds in Search API Solr 7

Sends a delete request for several documents, based on the document IDs.

Parameters

array $ids: The IDs of the documents which should be deleted. Expected to be UTF-8 encoded.

int|false $timeout: Seconds to wait until timing out with an exception. Defaults to an hour.

Return value

object A response object.

Throws

SearchApiException If an error occurs during the service call.

1 method overrides SearchApiSolrConnectionInterface::deleteByMultipleIds()
SearchApiSolrConnection::deleteByMultipleIds in includes/solr_connection.inc
Sends a delete request for several documents, based on the document IDs.

File

includes/solr_connection.interface.inc, line 243

Class

SearchApiSolrConnectionInterface
The interface for a Solr connection class.

Code

public function deleteByMultipleIds(array $ids, $timeout = 3600);