Manual:$wgSearchType

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