public function SearchApiSolrConnectionInterface::setSoftCommit in Search API Solr 7
Sets whether this connection will use soft commits when comitting.
Note that this setting only has any effect when using Solr 4.x or higher.
Parameters
$soft_commit: TRUE if soft commits should be used, FALSE otherwise. Default is FALSE.
1 method overrides SearchApiSolrConnectionInterface::setSoftCommit()
- SearchApiSolrConnection::setSoftCommit in includes/
solr_connection.inc - Sets whether this connection will use soft commits when comitting.
File
- includes/
solr_connection.interface.inc, line 35
Class
- SearchApiSolrConnectionInterface
- The interface for a Solr connection class.
Code
public function setSoftCommit($soft_commit);