function DummySolr::commit in Apache Solr Search 6.3
Same name and namespace in other branches
- 8 tests/Dummy_Solr.php \DummySolr::commit()
- 7 tests/Dummy_Solr.php \DummySolr::commit()
Send a commit command. Will be synchronous unless both wait parameters are set to false.
Parameters
boolean $optimize Defaults to true:
boolean $waitFlush Defaults to true:
boolean $waitSearcher Defaults to true:
float $timeout Maximum expected duration (in seconds) of the commit operation on the server (otherwise, will throw a communication exception). Defaults to 1 hour:
Return value
response object
Throws
Exception If an error occurs during the service call
Overrides DrupalApacheSolrServiceInterface::commit
File
- tests/
Dummy_Solr.php, line 382 - Dummy object to simulate a Solr Service
Class
- DummySolr
- @file Dummy object to simulate a Solr Service
Code
function commit($optimize = true, $waitFlush = true, $waitSearcher = true, $timeout = 3600, $softCommit = false) {
}