improve processing of search results