only create indexes on replicasets