Cluster-based tag ranking and search system