title: Is there a way to ignore Windows search indexing for certain patterns?
body: <p>Is there a way to ignore Windows search indexing for certain patterns?</p>
  
  <p>For example, I would like to skip the following folders:</p>
  
  <p>C:\Git**.git\
  C:\Git**\packages\
  C:\misc\git**.git\
  C:\misc\git**\packages\</p>
  
  <p>These cause thousands of extra noise matches in search results.</p>
  
  <p>I do want to index the various folders in C:\misc\git except for what's in the .git or .packages subfolders. I've only found a static way to do this, and nothing based on the pattern. It seems like this would be a common use case and is a little bit like the way git uses .gitignore to keep certain content out of version control. In this case, it would be keeping it out of the search index.</p>
  
  <p>I do not see any facility for patterns like this in "Indexed Locations". I assume it could be done by running some kind of script to exclude the current matches each time content changed (e.g. C:\misc\git\somethingnew was added) but that would be the opposite of elegant. </p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Penny</p>