You are here

public function BackendSpecificInterface::getDiscouragedProcessors in Search API 8

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.

2 methods override BackendSpecificInterface::getDiscouragedProcessors()
BackendPluginBase::getDiscouragedProcessors in src/Backend/BackendPluginBase.php
Limits the processors displayed in the UI for indexes on this server.
Server::getDiscouragedProcessors in src/Entity/Server.php
Limits the processors displayed in the UI for indexes on this server.

File

src/Backend/BackendSpecificInterface.php, line 88

Class

BackendSpecificInterface
Defines methods common to search servers and backend plugins.

Namespace

Drupal\search_api\Backend

Code

public function getDiscouragedProcessors();