The new CRUD API only allows hint by the index keys, so let's deprecate hint by index name in the legacy API as well.