Toggleable secondary indexes