added real time indexBy support for record class , refs #158