function DrupalApacheSolrServiceInterface::deleteById in Apache Solr Search 6.3
Same name and namespace in other branches
- 8 apachesolr.interface.inc \DrupalApacheSolrServiceInterface::deleteById()
- 7 apachesolr.interface.inc \DrupalApacheSolrServiceInterface::deleteById()
Create a delete document based on document ID
Parameters
string $id 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
response object
Throws
Exception If an error occurs during the service call
2 methods override DrupalApacheSolrServiceInterface::deleteById()
- DrupalApacheSolrService::deleteById in ./
Drupal_Apache_Solr_Service.php - Create a delete document based on document ID
- DummySolr::deleteById in tests/
Dummy_Solr.php - Create a delete document based on document ID
File
- ./
apachesolr.interface.inc, line 484
Class
- DrupalApacheSolrServiceInterface
- The interface for all 'Service' objects.
Code
function deleteById($id, $timeout = 3600);