function DummySolr::deleteById in Apache Solr Search 7
Same name and namespace in other branches
- 8 tests/Dummy_Solr.php \DummySolr::deleteById()
- 6.3 tests/Dummy_Solr.php \DummySolr::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
Overrides DrupalApacheSolrServiceInterface::deleteById
File
- tests/
Dummy_Solr.php, line 396 - Dummy object to simulate a Solr Service
Class
- DummySolr
- @file Dummy object to simulate a Solr Service
Code
function deleteById($id, $timeout = 3600) {
}