You are here

function DummySolr::update in Apache Solr Search 7

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

Overrides DrupalApacheSolrServiceInterface::update

File

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

Class

DummySolr
@file Dummy object to simulate a Solr Service

Code

function update($rawPost, $timeout = FALSE) {
}