public function Query::__construct in Search API Solr 8.2
Same name and namespace in other branches
- 8.3 src/Solarium/Autocomplete/Query.php \Drupal\search_api_solr\Solarium\Autocomplete\Query::__construct()
- 8 src/Solarium/Autocomplete/Query.php \Drupal\search_api_solr\Solarium\Autocomplete\Query::__construct()
- 4.x src/Solarium/Autocomplete/Query.php \Drupal\search_api_solr\Solarium\Autocomplete\Query::__construct()
File
- src/
Solarium/ Autocomplete/ Query.php, line 32
Class
- Query
- Autocomplete query.
Namespace
Drupal\search_api_solr\Solarium\AutocompleteCode
public function __construct($options = null) {
$this->componentTypes = [
ComponentAwareQueryInterface::COMPONENT_SPELLCHECK => 'Solarium\\Component\\Spellcheck',
ComponentAwareQueryInterface::COMPONENT_SUGGESTER => 'Solarium\\Component\\Suggester',
ComponentAwareQueryInterface::COMPONENT_TERMS => 'Solarium\\Component\\Terms',
];
parent::__construct($options);
}