Merge similar search queries to save network and service resources.