Custom K2 Service Broker for SharePoint 2013 and SharePoint Online Search.
Tested only on SharePoint Online. Should work on-premises but not tested.
Requires the K2 for SharePoint app to be installed and configured for Office 365 to take advantage of common consent.