Support to query secondary index