I have a php project with many directories. There are two directories (vendor and node_modules) which I want to exclude from search. I created a custom scope including all dirs except the dirs starting with vendor and node_module, so as a result, it says my scope contains 208 of total 45030 files.
But searching this scope takes very long. I think it somehow re-creates the index of those files every time. On the other hand, if I search manually in every directory (other than the two), the results are immediate. Is it possible to define a scope so that searching scope files is reasonably quick (like searching in 208 files)?