Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Extension:CirrusSearch/Hooks/CirrusSearchAnalysisConfig

From mediawiki.org
<Extension:CirrusSearch
(Redirected fromManual:Hooks/CirrusSearchAnalysisConfig)
CirrusSearchAnalysisConfig
Available from version 1.24.0 (Gerrit change 104766)
Allows to hook into the configuration for analysis
Define function:
publicstaticfunctiononCirrusSearchAnalysisConfig(array&$config,AnalysisConfigBuilder$builder){...}
Attach hook:
$wgHooks['CirrusSearchAnalysisConfig'][]='MyExtensionHooks::onCirrusSearchAnalysisConfig';
Called from:
File(s):CirrusSearch / AnalysisConfigBuilder.php

For more information about attaching hooks, seeManual:Hooks.
For examples of other extensions using this hook, seeCategory:CirrusSearchAnalysisConfig extensions.

This hook is a part ofCirrusSearch 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)

See also

[edit]
Retrieved from "https://www.mediawiki.org/w/index.php?title=Extension:CirrusSearch/Hooks/CirrusSearchAnalysisConfig&oldid=4038826"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp