Regardless of whether index management is in code or not, this feels to me like the wrong place.