You are here

function DrupalApacheSolrServiceInterface::deleteByQuery in Apache Solr Search 7

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

Create a delete document based on a query and submit it

Parameters

string $rawQuery Expected to be utf-8 encoded:

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

Return value

stdClass response object

Throws

Exception If an error occurs during the service call

2 methods override DrupalApacheSolrServiceInterface::deleteByQuery()
DrupalApacheSolrService::deleteByQuery in ./Drupal_Apache_Solr_Service.php
Create a delete document based on a query and submit it
DummySolr::deleteByQuery in tests/Dummy_Solr.php
Create a delete document based on a query and submit it

File

./apachesolr.interface.inc, line 512

Class

DrupalApacheSolrServiceInterface
The interface for all 'Service' objects.

Code

function deleteByQuery($rawQuery, $timeout = 3600);