return the query.search to ease caching client-side