protected function Drupal_Apache_Solr_Service::_clearCache in Apache Solr Search 5.2
Same name and namespace in other branches
- 6 Drupal_Apache_Solr_Service.php \Drupal_Apache_Solr_Service::_clearCache()
- 6.2 Drupal_Apache_Solr_Service.php \Drupal_Apache_Solr_Service::_clearCache()
2 calls to Drupal_Apache_Solr_Service::_clearCache()
- Drupal_Apache_Solr_Service::clearCache in ./
Drupal_Apache_Solr_Service.php - Clear cached Solr data.
- Drupal_Apache_Solr_Service::commit in ./
Drupal_Apache_Solr_Service.php - Clear the cache whenever we commit changes.
File
- ./
Drupal_Apache_Solr_Service.php, line 168
Class
Code
protected function _clearCache() {
cache_clear_all("apachesolr:luke:", 'cache_apachesolr', TRUE);
cache_clear_all("apachesolr:stats:", 'cache_apachesolr', TRUE);
$this->luke = array();
$this->stats = NULL;
}