MediaWiki  master
SearchIndexFieldsHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Search\Hook;
4 
5 use SearchEngine;
7 
25  public function onSearchIndexFields( &$fields, $engine );
26 }
MediaWiki\Search\Hook
Definition: PrefixSearchBackendHook.php:3
MediaWiki\Search\Hook\SearchIndexFieldsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SearchIndexFieldsHook.php:15
SearchEngine
Contain a class for special pages Stable to extend.
Definition: SearchEngine.php:37
MediaWiki\Search\Hook\SearchIndexFieldsHook\onSearchIndexFields
onSearchIndexFields(&$fields, $engine)
Use this hook to add fields to search index mapping.
SearchIndexField
Definition of a mapping for the search index field.
Definition: SearchIndexField.php:7