querying tags - caching is an option
convert search to a query instance