1. A method for managing a rebuilding of indexes in a computer, the method comprising: initiating an index rebuilding process in a computer; detecting a “Power down” command for the computer; evaluating a progress level of the index rebuilding process; in response to the index rebuilding process exceeding a predetermined completion level, delaying the “Power down” command until the index rebuilding process is completed; and in response to the index rebuilding process being less than the predetermined completion level, aborting the index rebuilding process and executing the “Power down” command.