Manual:$wgAdvancedSearchHighlighting

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎español • ‎magyar • ‎polski • ‎русский • ‎中文 • ‎日本語
Search: $wgAdvancedSearchHighlighting
Set to true to have more useful text snippets in search results.
Introduced in version:1.13.0 (r34210)
Removed in version:still in use
Allowed values:(boolean)
Default value:false

Details[edit]

Set to true to have more useful text snippets in search results: $wgAdvancedSearchHighlighting basically does not really change the way a search hit is highlighted. In so far the option is poorly named. What it in fact does change is which part(s) of a result page get(s) displayed: Without $wgAdvancedSearchHighlighting set, irrelevant parts might show up while with $wgAdvancedSearchHighlighting set to true, the places of the exact hits are more likely to be displayed. Off by default due to execution overhead.