Force fileBasedIndex reindex/rebuild
Hi, is there any way to really force the reindex of some fileBasedIndex extension?
Currently I'm trying with:
FileBasedIndex.getInstance().requestRebuild(id);
FileBasedIndex.getInstance().scheduleRebuild(id, new Throwable());
But that doesn't work, I can see PhpStorm is doing some reindex but the breakpoints in debugger are never reached so I'm not sure what is doing exactly.
I have read this related post too: https://intellij-support.jetbrains.com/hc/en-us/community/posts/206109409-How-to-rebuild-index-on-demand-?input_string=Force%20fileBasedIndex%20reindex%2Frebuild
But that workaround does not work for me, it feels we are missing some info here, could please help us with some tip to force reindexing?
Thanks !!
Please sign in to leave a comment.