That is, go to the plugin page and search for "spotlight".
My link tells you how to override the spotlight (and then enable it for all users). You can stop at the override the spotlight part and then add your code.
And seriously, if you type spotlight into the search here you get the following:
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.