参考 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就很快了。