Support for disabling and rebuilding an index