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