comparing queries to clusters.