Support range queries on indices