function DrupalApacheSolrServiceInterface::update in Apache Solr Search 7
Same name and namespace in other branches
- 8 apachesolr.interface.inc \DrupalApacheSolrServiceInterface::update()
- 6.3 apachesolr.interface.inc \DrupalApacheSolrServiceInterface::update()
Raw update Method. Takes a raw post body and sends it to the update service. Post body should be a complete and well formed xml document.
Parameters
string $rawPost:
float $timeout Maximum expected duration (in seconds):
Return value
response object
Throws
Exception If an error occurs during the service call
2 methods override DrupalApacheSolrServiceInterface::update()
- DrupalApacheSolrService::update in ./
Drupal_Apache_Solr_Service.php - Raw update Method. Takes a raw post body and sends it to the update service. Post body should be a complete and well formed xml document.
- DummySolr::update in tests/
Dummy_Solr.php - Raw update Method. Takes a raw post body and sends it to the update service. Post body should be a complete and well formed xml document.
File
- ./
apachesolr.interface.inc, line 449
Class
- DrupalApacheSolrServiceInterface
- The interface for all 'Service' objects.
Code
function update($rawPost, $timeout = FALSE);