Manual:$wgSearchType

Details
Leave as null to select the default search engine for the selected database type (e.g. SearchMySQL4 or SearchPostgres), or set to a class name to override to a custom search engine.