XF 2.1 Data into search index on insert


Well-known member
How can I get the data from my add-on to go into the search index when I insert a record into the database? Currently the data is only added to the search index if I rebuild, but nothing when I insert the data. Any help would be greatly appreciated.

EDIT: Nevermind, I figured it out. Thanks, anyways.
Last edited: