update search api controller to work with crosswiki cores