map tag search to index search