Add query to search result collection

@pvcarrera