public function SearchApiSolrBackend::getDiscouragedProcessors in Search API Solr 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/search_api/backend/SearchApiSolrBackend.php \Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::getDiscouragedProcessors()
- 4.x src/Plugin/search_api/backend/SearchApiSolrBackend.php \Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::getDiscouragedProcessors()
Limits the processors displayed in the UI for indexes on this server.
Returns an array of processor IDs that should not be enabled for this backend. It is a bad idea, for example, to have the "Tokenizer" processor enabled when using a Solr backend.
Return value
string[] A list of processor IDs.
Overrides BackendPluginBase::getDiscouragedProcessors
File
- src/
Plugin/ search_api/ backend/ SearchApiSolrBackend.php, line 490
Class
- SearchApiSolrBackend
- Apache Solr backend for search api.
Namespace
Drupal\search_api_solr\Plugin\search_api\backendCode
public function getDiscouragedProcessors() {
return [
'ignorecase',
// https://www.drupal.org/project/snowball_stemmer
'snowball_stemmer',
'stemmer',
'stopwords',
'tokenizer',
'transliteration',
];
}