/**
* @return string
+ * @throws MWException
*/
protected function getContentClass() {
throw new MWException( 'Subclass must override' );
}
+
+ /**
+ * @param SearchEngine $engine
+ * @return array
+ */
+ public function getFieldsForSearchIndex( SearchEngine $engine ) {
+ return [];
+ }
}