sq: leave the index type generic