You are here

public function SolrConnectorInterface::optimize in Search API Solr 8.2

Same name and namespace in other branches
  1. 8.3 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::optimize()
  2. 8 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:

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

File

src/SolrConnectorInterface.php, line 345

Class

SolrConnectorInterface

Namespace

Drupal\search_api_solr

Code

public function optimize(Endpoint $endpoint = NULL);