return search results by groups