You are here

public function DrupalApacheSolrService::getSoftCommit in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 Drupal_Apache_Solr_Service.php \DrupalApacheSolrService::getSoftCommit()
  2. 6.3 Drupal_Apache_Solr_Service.php \DrupalApacheSolrService::getSoftCommit()

Returns the flag that denotes whether to use soft commits for Solr 4.x.

Return value

bool Whether to use soft commits for Solr 4.x.

File

./Drupal_Apache_Solr_Service.php, line 164

Class

DrupalApacheSolrService
Starting point for the Solr API. Represents a Solr server resource and has methods for pinging, adding, deleting, committing, optimizing and searching.

Code

public function getSoftCommit() {
  return $this->soft_commit;
}