This section contains documentation for developers, explaining the Search API's basic architecture and giving examples of how certain extensions for it can be developed.
Disable server and index
Sometimes you want to temporary disable the server and/or index. For example as frontender with a local install, you do not want to setup a server backend. Add the following to your settings.php file:
$config['search_api.server.default']['status'] = false; $config['search_api.index.default']['status'] = false;
Note: You may need to replace 'default' by your server/index name.