You are here

public function Acquia_Search_Service::optimize in Acquia Search 6

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.

See also

Drupal_Apache_Solr_Service::optimize()

File

./Acquia_Search_Service.php, line 183

Class

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