I need to be able to link individual search results links to a jQuery, on(“click”, function (e)….
How can I either add a data-id or a css class to each search result?
You can either use the results templating feature to add more attributes to each result, or use the javascript API to do it on the client site – whichever you prefer.