You are here

function DrupalApacheSolrServiceInterface::deleteByMultipleIds in Apache Solr Search 8

Same name and namespace in other branches
  1. 6.3 apachesolr.interface.inc \DrupalApacheSolrServiceInterface::deleteByMultipleIds()
  2. 7 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 496

Class

DrupalApacheSolrServiceInterface
The interface for all 'Service' objects.

Code

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