|
SolrClient::commitFinalizes all add/deletes made to the index Description
public SolrUpdateResponse SolrClient::commit(bool
$softCommit = false , bool $waitSearcher = true , bool $expungeDeletes = false )This method finalizes all add/deletes made to the index. Parameters
Return ValuesReturns a SolrUpdateResponse object on success or throws an exception on failure. Errors/ExceptionsThrows SolrClientException if the client had failed, or there was a connection issue. Throws SolrServerException if the Solr Server had failed to process the request. Changelog
NotesWarning
PECL Solr >= 2.0 only supports Solr Server >= 4.0 See Also
|