Major overhaul of search in the applications api