implement support for secondary index reads