You are here

protected function SolrConnectorPluginBase::customizeRequest in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::customizeRequest()
  2. 8 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::customizeRequest()
  3. 8.2 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::customizeRequest()

Creates a CustomizeRequest object.

Return value

\Solarium\Plugin\CustomizeRequest\CustomizeRequest|\Solarium\Core\Plugin\PluginInterface The Solarium CustomizeRequest object.

1 call to SolrConnectorPluginBase::customizeRequest()
SolrConnectorPluginBase::update in src/SolrConnector/SolrConnectorPluginBase.php
Executes an update query and applies some tweaks.

File

src/SolrConnector/SolrConnectorPluginBase.php, line 843

Class

SolrConnectorPluginBase
Defines a base class for Solr connector plugins.

Namespace

Drupal\search_api_solr\SolrConnector

Code

protected function customizeRequest() {
  $this
    ->connect();
  return $this->solr
    ->getPlugin('customizerequest');
}