Refactor search results for one resource type