Manual:$wgAdvancedSearchHighlighting

Details
Set to true to have nicer highlighted text in search results, by default off due to execution overhead.