Extension:CirrusSearch/Hooks/CirrusSearchFulltextQueryBuilder

CirrusSearchFulltextQueryBuilder
Available from version 1.31.0
Removed in version 1.34.0
Allows to override fulltext query builder settings or query builder itself.
Define function:
public static function onCirrusSearchFulltextQueryBuilder( FullTextQueryBuilder &$builder, SearchContext $context ) { ... }
Attach hook:
$wgHooks['CirrusSearchFulltextQueryBuilder'][] = 'MyExtensionHooks::onCirrusSearchFulltextQueryBuilder';
Called from:File(s): CirrusSearch / includes/Searcher.php

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

DetailsEdit

  • &$builder - FullTextQueryBuilder object, can be overriden by extensions
  • $context - SearchContext object