'How to disable that new "FileContentIndex" folder (and .vsidx files) in VS 2022 17.2.0?

Since update to VS 2022 17.2.0, a new folder called "FileContentIndex" is created in "...\.vs\[soln name]".

This seems to be related to ServiceHub.IndexingService.exe. There's also a new file type of ".vsidx" and a "merges" folder.

There's not much info around at the moment. At the time of posting, StackOverflow returns no search results on the above.

I want to disable this feature. I've gone through all the Tools > Options settings but can't seem to find anything relevant. Any ideas?

Thanks

Added screenshot: VS 2022 17.2.0 Tools > Options VS 2022 17.2.0 Tools > Options



Solution 1:[1]

Please check Tools > Options > Environment > Preview Features > Enable indexing for faster find experience option:

enter image description here

See also https://devblogs.microsoft.com/visualstudio/code-search-in-visual-studio-is-about-to-get-much-faster/

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1