Hi, Suppose I have an extension that utilizes SearchIndexFieldsHook and SearchDataForIndexHook to add a novel field, called 'more_file_text', to the indexed data for pages. This new field is of INDEX_TYPE_TEXT.
Via those two hooks, I've managed to get data for this field stored in the elasticsearch index. But... how do I get CirrusSearch to actually include this field in its searches? It would be a-ok if the 'more_file_text' could just be treated as additional content for the 'file_text' field. (However, simply populating the existing 'file_text' field via the SearchDataForIndexHook does not work, because the FileContentHandler::getDataForSearchIndex() method runs after the hook and always forcefully overwrites the 'file_text' field.) Will any existing CirrusSearch hooks or configuration parameters allow me to achieve this? (And/or, is there a better forum for me to ask this question?) -mm _______________________________________________ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/