Implemented search functionality. Still need to call functions to remove
and edit search docs in event class