remove getAllocator from SecondaryIndex