Revert "优化索引建立的时机"

This reverts commit b36074f769f9e0846b0eb40ede1714f4b75b269e.