compare indexes directly