To make the changes take effect, please perform the corresponding commands on SharePoint Server/Exchange Server.
On SharePoint Server:
Do an IISreset, stop and restart search service.
For SharePoint 2013
iisreset
net stop spsearchhostcontroller
net start spsearchhostcontroller
net stop osearch15
net start osearch15
For SharePoint 2010
iisreset
net stop spsearch4
net start spsearch4
net stop osearch14
net start osearch14
For SharePoint 2007
iisreset
net stop spsearch
net start spsearch
net stop osearch
net start osearch
On Exchange Server:
Restart the Microsoft Search service using the Services console or by typing the following command in the Exchange Management Shell.
Stop-Service msftesql-Exchange -Force;
Start-Service MSExchangeSearch