public function SolrConnectorInterface::optimize in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::optimize()
- 8 src/SolrConnectorInterface.php \Drupal\search_api_solr\SolrConnectorInterface::optimize()
- 8.2 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 473
Class
- SolrConnectorInterface
- The Solr connector interface.
Namespace
Drupal\search_api_solrCode
public function optimize(?Endpoint $endpoint = NULL);