Manual:Hooks/SearchDataForIndex

Details

 * array &$fields: Array of name => value pairs for fields
 * ContentHandler $handler: ContentHandler for the content being indexed
 * WikiPage $page: WikiPage that is being indexed
 * ParserOutput $output: ParserOutput that is produced from the page
 * SearchEngine $engine: SearchEngine for which the indexing is intended

Add data to search document. Allows an extension to add any data to the field map used to index the document.