Apache_Solr_Service_Balancer::commit
Send a commit command. Will be synchronous unless both wait parameters are set to false.
Signature
public function commit([boolean
$optimize = true,
[boolean
$waitFlush = true,
[boolean
$waitSearcher = true,
[integer
$timeout = 3600]]]] )
Parameters
$optimize
— boolean$waitFlush
— boolean$waitSearcher
— boolean$timeout
— integer
Returns
- Apache_Solr_Response
Errors/Exceptions
-
Apache_Solr_HttpTransportException
- If an error occurs during the service call