public function Drupal_Apache_Solr_Service::commit in Apache Solr Search 5.2
Same name and namespace in other branches
- 6 Drupal_Apache_Solr_Service.php \Drupal_Apache_Solr_Service::commit()
- 6.2 Drupal_Apache_Solr_Service.php \Drupal_Apache_Solr_Service::commit()
Clear the cache whenever we commit changes.
Overrides Apache_Solr_Service::commit
See also
File
- ./
Drupal_Apache_Solr_Service.php, line 180
Class
Code
public function commit($optimize = TRUE, $waitFlush = TRUE, $waitSearcher = TRUE, $timeout = 3600) {
parent::commit($optimize, $waitFlush, $waitSearcher, $timeout);
$this
->_clearCache();
}