Add query info to the search responses.