recovery after crash (power loss etc) it may say that it can't restore index and index should be reindexed. Some refactoring code.