SolrClient::commit
SolrClient::commit
(PECL solr >= 0.9.2)
SolrClient::commit — Finalizes 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
-
softCommit
-
This will refresh the 'view' of the index in a more performant manner, but without "on-disk" guarantees. (Solr4.0