How can I exclude folders from indexing?

It was the same with previous versions of v7.

Adding priorities only excludes files from search results.

I only want to index ProgramData and User folders.

Like disabling drives, I want to exclude the items in the folder from listing altogether.

I need optimization.