Manual:Hooks/SearchIndexFields

Details

 * array &$fields: Array of fields, all implement SearchIndexField.
 * SearchEngine $engine: SearchEngine instance for which mapping is being built.

Extension that wants to add a field to search index mapping can use this hook to inject search fields.