Windows 10 indexing and searching in files


  1. Posts : 206
    Windows7/10
       #1

    Windows 10 indexing and searching in files


    So i know a little bit about the windows indexing and how you can select it to search files and inside files in the advanced tab and file types. I currently have text files selected to files AND file contents but is this system wide or is it in indexed locations only? I've seen some sites suggest if you wish to use other locations use folder options and under search check "always search file names and content (this ma take several minutes)" but does this affect every folder or only the folder your currently in? Do you have to do it for every folder you wish to have it enabled for?

    And lastly with indexing does it take up any space on your PC? If so how much?
      My Computer


  2. Posts : 21,421
    19044.1586 - 21H2 Pro x64
       #2

    MajorFoley said:
    So i know a little bit about the windows indexing and how you can select it to search files and inside files in the advanced tab and file types. I currently have text files selected to files AND file contents but is this system wide or is it in indexed locations only? I've seen some sites suggest if you wish to use other locations use folder options and under search check "always search file names and content (this ma take several minutes)" but does this affect every folder or only the folder your currently in? Do you have to do it for every folder you wish to have it enabled for?

    And lastly with indexing does it take up any space on your PC? If so how much?
    Hello MajorFoley

    A few answers for you:
    Only indexed locations get indexed. The indexing database does take up space, but I couldn't tell you how much as it depends on your configuration and number of files.

    To see how much space is currently being used by indexing run the following in an admin powershell (assuming you didn't change the default location of indexing database):
    Code:
    "{0:N2} GB" -f ((Get-ChildItem C:\ProgramData\Microsoft\Search\ -Recurse | Measure-Object -Property Length -Sum -ErrorAction Stop).Sum / 1GB)
    Mine is about 2 GB.
      My Computer


  3. Posts : 21,421
    19044.1586 - 21H2 Pro x64
       #3

    If I need to search for something in a location that's not indexed and I don't want to add it to the indexed locations, I like to use third party app Agent Ransack - give it a try vs searching an non-indexed folder using File Explorer - it's much faster.
      My Computer


  4. Posts : 43,010
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    The size of the indexing database will naturally be larger where content indexing is used.

    Content indexing is enabled by default at various levels:
    disk
    file type
    folder
    file

    by tick box in each case.

    It is possible - even on C: - to have instant Windows search results for files and/or content without indexing the whole drive, even if you start with file explorer open at My PC or C:

    I was very surprised when my (quite recent) experiment actually worked.

    This is not the default experience, alas, another reason why MS search gets such a bad name- it's not configured for its target audience, the consumer, and why so many rush to 3rd party tools (which I also find convenient).

    I believe the edb file is the actual index:
    Windows 10 indexing and searching in files-1.jpg
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:05.
Find Us




Windows 10 Forums