Search SourceHandler

Valhalla

Well-known member
Is it possible to extend a search handler, specifically the one used for ES? I am interested in the "insertIntoIndex" method.

There doesn't seem to be a way to extend here with existing code events:
load_class_search_data
search_source_create

(What happens if there are multiple "search_source_create"?)

I wish to take advantage of insertIntoIndex when it's used either by (1) postSave in the DataWriter, or (2) when rebuilding content (which is why I dont want to extend postSave).

Thanks,
 
I have used the load_class_search_data event to listen for the class 'XenForo_Search_DataHandler_Post' and extend the insertIntoIndex method there as needed.
 
Back
Top Bottom