public function SolrConnectorInterface::autocomplete in Search API Solr 4.x
Executes a search query and returns the raw response.
Parameters
\Drupal\search_api_solr\Solarium\Autocomplete\Query $query: The Solarium select query object.
\Solarium\Core\Client\Endpoint|null $endpoint: (optional) The Solarium endpoint object.
Return value
\Solarium\Core\Client\Response The Solarium response object.
Throws
\Drupal\search_api_solr\SearchApiSolrException
1 method overrides SolrConnectorInterface::autocomplete()
- SolrConnectorPluginBase::autocomplete in src/
SolrConnector/ SolrConnectorPluginBase.php - Executes a search query and returns the raw response.
File
- src/
SolrConnectorInterface.php, line 433
Class
- SolrConnectorInterface
- The Solr connector interface.
Namespace
Drupal\search_api_solrCode
public function autocomplete(AutocompleteQuery $query, ?Endpoint $endpoint = NULL);