Extension:CirrusSearch/Hooks/CirrusSearchRegisterFullTextQueryClassifiers
Appearance
(Redirected from Manual:Hooks/CirrusSearchRegisterFullTextQueryClassifiers)
CirrusSearchRegisterFullTextQueryClassifiers | |
---|---|
Available from version 1.32.0 (Gerrit change 441406) Allows extensions to register fulltext query classifiers. |
|
Define function: | public static function onCirrusSearchRegisterFullTextQueryClassifiers( ParsedQueryClassifiersRepository $repository ) { ... }
|
Attach hook: | $wgHooks['CirrusSearchRegisterFullTextQueryClassifiers'][] = 'MyExtensionHooks::onCirrusSearchRegisterFullTextQueryClassifiers';
|
Called from: | File(s): CirrusSearch / includes/Parser/FTQueryClassifiersRepository.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:CirrusSearchRegisterFullTextQueryClassifiers extensions.
Details
[edit]$repository
- CirrusSearch\Parser\ParsedQueryClassifiersRepository : the repository to register new classifiers.