Manual:$wgEnableMWSuggest

Details
Enable AJAX autocomplete search suggestions (autosuggest) while typing in search boxes (results are passed around in OpenSearch format). You might have to comment out $wgScriptExtension = ".php"; in your LocalSettings.php to make this work.

This setting replaces $wgAjaxSearch that was used in earlier versions of MW.