Extension:CirrusSearch/Hooks/CirrusSearchSimilarityConfig

From MediaWiki.org
Jump to navigation Jump to search
CirrusSearchSimilarityConfig
Available from version 1.35.0 (Gerrit change 559058)
Allows to customize and add new similarities to the index settings.
Define function:
public static function onCirrusSearchSimilarityConfig( array &$similarity ) { ... }
Attach hook:
$wgHooks['CirrusSearchSimilarityConfig'][] = 'MyExtensionHooks::onCirrusSearchSimilarityConfig';
Called from:File(s): CirrusSearch / includes/Maintenance/AnalysisConfigBuilder.php

For more information about attaching hooks, see Manual:Hooks.
For examples of other extensions using this hook, see Category:CirrusSearchSimilarityConfig extensions.

This hook is a part of CirrusSearch extension .

Details[edit]