Disable server and index

Last updated on
24 March 2017

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.

Help improve this page

Page status: No known problems

You can: