You are here

function DummySolr::deleteByQuery in Apache Solr Search 6.3

Same name and namespace in other branches
  1. 8 tests/Dummy_Solr.php \DummySolr::deleteByQuery()
  2. 7 tests/Dummy_Solr.php \DummySolr::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

Overrides DrupalApacheSolrServiceInterface::deleteByQuery

File

tests/Dummy_Solr.php, line 420
Dummy object to simulate a Solr Service

Class

DummySolr
@file Dummy object to simulate a Solr Service

Code

function deleteByQuery($rawQuery, $timeout = 3600) {
}