Manual:$wgDisableTextSearch/en

Details
Disables full text search.

See also to forward to a different search page. If search is disabled, and no forward url specified, a search form can be configured with MediaWiki:Googlesearch.