SolrClient::rollback

(PECL solr >= 0.9.2)
Rollbacks all add/deletes made to the index since the last commit
public SolrUpdateResponse SolrClient::rollback ( void )

Rollbacks all add/deletes made to the index since the last commit. It neither calls any event listeners nor creates a new searcher.

Returns:

Returns a SolrUpdateResponse on success or throws a SolrClientException on failure.

See also:

SolrClient::commit() -

SolrClient::optimize() -

doc_php
2016-02-24 16:10:57
Comments
Leave a Comment

Please login to continue.