You are here

function DrupalApacheSolrServiceInterface::deleteByMultipleIds in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr.interface.inc \DrupalApacheSolrServiceInterface::deleteByMultipleIds()
  2. 6.3 apachesolr.interface.inc \DrupalApacheSolrServiceInterface::deleteByMultipleIds()

Create and post a delete document based on multiple document IDs.

Parameters

array $ids Expected to be utf-8 encoded strings:

float $timeout Maximum expected duration of the delete operation on the server (otherwise, will throw a communication exception):

Return value

response object

Throws

Exception If an error occurs during the service call

2 methods override DrupalApacheSolrServiceInterface::deleteByMultipleIds()
DrupalApacheSolrService::deleteByMultipleIds in ./Drupal_Apache_Solr_Service.php
Create and post a delete document based on multiple document IDs.
DummySolr::deleteByMultipleIds in tests/Dummy_Solr.php
Create and post a delete document based on multiple document IDs.

File

./apachesolr.interface.inc, line 501

Class

DrupalApacheSolrServiceInterface
The interface for all 'Service' objects.

Code

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