public function SearchApiElasticsearchBackend::supportsFeature in Elasticsearch Connector 8.2
Same name and namespace in other branches
- 8 src/Plugin/search_api/backend/SearchApiElasticsearchBackend.php \Drupal\elasticsearch_connector\Plugin\search_api\backend\SearchApiElasticsearchBackend::supportsFeature()
TODO: implement 'search_api_multi', TODO: implement 'search_api_service_extra', TODO: implement 'search_api_spellcheck', TODO: implement 'search_api_data_type_location', TODO: implement 'search_api_data_type_geohash',
File
- src/
Plugin/ search_api/ backend/ SearchApiElasticsearchBackend.php, line 212 - Contains the SearchApiElasticsearchBackend object.
Class
- SearchApiElasticsearchBackend
- Plugin annotation @SearchApiBackend( id = "elasticsearch", label = @Translation("Elasticsearch"), description = @Translation("Index items using an Elasticsearch server.") )
Namespace
Drupal\elasticsearch_connector\Plugin\search_api\backendCode
public function supportsFeature($feature) {
// First, check the features we always support.
$supported = [
'search_api_autocomplete',
'search_api_facets',
'search_api_facets_operator_or',
'search_api_grouping',
'search_api_mlt',
];
return in_array($feature, $supported);
}