public function SolrConnectorPluginBase::getUpdateQuery in Search API Solr 8.2
Same name and namespace in other branches
- 8.3 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getUpdateQuery()
- 8 src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getUpdateQuery()
- 4.x src/SolrConnector/SolrConnectorPluginBase.php \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase::getUpdateQuery()
Creates a new Solarium update query.
Return value
\Solarium\QueryType\Update\Query\Query The Update query.
Overrides SolrConnectorInterface::getUpdateQuery
File
- src/
SolrConnector/ SolrConnectorPluginBase.php, line 667
Class
- SolrConnectorPluginBase
- Defines a base class for Solr connector plugins.
Namespace
Drupal\search_api_solr\SolrConnectorCode
public function getUpdateQuery() {
$this
->connect();
return $this->solr
->createUpdate();
}