Manual:$wgDisableTextSearch

Details
Disables full text search.

See also manual:$wgSearchForwardUrl to forward to a different search page. If search is disbaled, and no forward url specified, a search form can be configured with mediawiki:Googlesearch.