You are here

public function SolrConnectorInterface::optimize in Search API Solr 8.3

Same name and namespace in other branches
  1. 8 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::optimize()
  2. 8.2 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::optimize()
  3. 4.x src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::optimize()

Optimizes the Solr index.

Parameters

\Solarium\Core\Client\Endpoint|null $endpoint: (optional) The Solarium endpoint object.

Throws

\Drupal\search_api_solr\SearchApiSolrException

1 method overrides SolrConnectorInterface::optimize()
SolrConnectorPluginBase::optimize in src/SolrConnector/SolrConnectorPluginBase.php
Optimizes the Solr index.

File

src/SolrConnectorInterface.php, line 399

Class

SolrConnectorInterface
The Solr connector interface.

Namespace

Drupal\search_api_solr

Code

public function optimize(?Endpoint $endpoint = NULL);