參考 stackoverflow上的解決方案:
https://stackoverflow.com/questions/15991561/intelli-j-idea-takes-forever-to-update-indices
對於mac用戶可以刪除用戶home路徑下的Library/Caches中的Idea文件夾,例如:
cd /Users/pilaf/Library/Caches
rm -rf IntelliJIdea2016.2/
之後再Updating Indices就很快了。