function DrupalApacheSolrServiceInterface::deleteByQuery in Apache Solr Search 6.3
Same name and namespace in other branches
- 8 apachesolr.interface.inc \DrupalApacheSolrServiceInterface::deleteByQuery()
- 7 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 507
Class
- DrupalApacheSolrServiceInterface
- The interface for all 'Service' objects.
Code
function deleteByQuery($rawQuery, $timeout = 3600);