You are here

public function AcquiaSearchService::optimize in Acquia Connector 7.2

Same name and namespace in other branches
  1. 7 acquia_search/Acquia_Search_Service.php \AcquiaSearchService::optimize()

Send an optimize command.

We want to control the schedule of optimize commands ourselves, so do a method override to make ->optimize() a no-op.

Overrides DrupalApacheSolrService::optimize

See also

Drupal_Apache_Solr_Service::optimize()

File

acquia_search/Acquia_Search_Service.php, line 18

Class

AcquiaSearchService
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 optimize($waitFlush = true, $waitSearcher = true, $timeout = 3600) {
  return TRUE;
}