You are here

public function SolrConnectorInterface::update in Search API Solr 8

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

Executes an update query and applies some tweaks.

Parameters

\Solarium\QueryType\Update\Query\Query $query:

\Solarium\Core\Client\Endpoint|null $endpoint:

Return value

\Solarium\Core\Query\Result\ResultInterface

1 method overrides SolrConnectorInterface::update()
SolrConnectorPluginBase::update in src/SolrConnector/SolrConnectorPluginBase.php
Executes an update query and applies some tweaks.

File

src/SolrConnectorInterface.php, line 293

Class

SolrConnectorInterface

Namespace

Drupal\search_api_solr

Code

public function update(UpdateQuery $query, Endpoint $endpoint = NULL);