complete search results business logic