Jump to content

Extension:CirrusSearch/Hooks/CirrusSearchFulltextQueryBuilderComplete

From mediawiki.org
Revision as of 02:35, 2 December 2023 by SamanthaNguyen (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
CirrusSearchFulltextQueryBuilderComplete
Available from version ??? (Gerrit change 437641)
Removed in version 1.34.0
Allows to modify full-text query builder result after default query has been built.
Define function:
public static function onCirrusSearchFulltextQueryBuilderComplete( CirrusSearch\Query\FulltextQueryBuilder $builder, string $term, CirrusSearch\Search\SearchContext $context ) { ... }
Attach hook:
$wgHooks['CirrusSearchFulltextQueryBuilderComplete'][] = 'MyExtensionHooks::onCirrusSearchFulltextQueryBuilderComplete';
Called from:File(s): CirrusSearch /

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