Extension:CirrusSearch/Hooks/CirrusSearchAnalysisConfig
Appearance
CirrusSearchAnalysisConfig | |
---|---|
Available from version 1.24.0 (Gerrit change 104766) Allows to hook into the configuration for analysis |
|
Define function: | public static function onCirrusSearchAnalysisConfig( array &$config, AnalysisConfigBuilder $builder ) { ... }
|
Attach hook: | $wgHooks['CirrusSearchAnalysisConfig'][] = 'MyExtensionHooks::onCirrusSearchAnalysisConfig';
|
Called from: | File(s): CirrusSearch / AnalysisConfigBuilder.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:CirrusSearchAnalysisConfig extensions.
This hook is a part of CirrusSearch extension .
Details
[edit]$config
- multi-dimensional configuration array for analysis of various languages and fields$builder
-CirrusSearch\Maintenance\AnalysisConfigBuilder
object handling the building (introduced in 1.31)