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:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion