You are here

public function DrupalApacheSolrService::getSoftCommit in Apache Solr Search 8

Same name and namespace in other branches
  1. 6.3 Drupal_Apache_Solr_Service.php \DrupalApacheSolrService::getSoftCommit()
  2. 7 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 163

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;
}