sodcalculator

10 Tech How-To

Windows Search Indexer: What It Is & How It Works

Guide 10-21652 · Updated · Step by step

The Windows Search Indexer is a background service that scans your files, folders, emails, and other content, then builds a searchable database (the index) to make searches faster. Instead of searching every file each time you type in the Start menu or File Explorer, Windows looks up the index. This article explains what the indexer actually does, why it sometimes uses high CPU, and how to manage or troubleshoot it.

What Exactly Does the Indexer Do?

The indexer runs as the Windows Search service (SearchIndexer.exe). It continuously monitors the locations you’ve told it to index—like your user folder, Outlook, or OneDrive—and updates the index when files change. The index contains metadata like file names, file paths, and text content (for files with text, like .txt, .docx, or .pdf). When you search, Windows queries this index rather than scanning the entire drive. That’s why searching for a document by a word inside it returns results in seconds, even on a large drive.

By default, Windows indexes only certain locations: your user profile (Documents, Downloads, Desktop, etc.), Start menu items, and Outlook data. It does not index the entire C: drive or other drives unless you add them.

How the Indexer Works Under the Hood

The indexer uses a set of components:

  • Indexer service – the main process that manages the index database.
  • Protocol handlers – they read different file types (e.g., the MAPI protocol handler for Outlook, the file system handler for folders).
  • Filters (IFilters) – they extract text from files. For example, the PDF IFilter reads text from PDFs; the Office IFilter does the same for Word documents.
  • Word breakers – they split text into words for the index.
  • The index store – a database (in C:\ProgramData\Microsoft\Search) that holds the index data.

When a file changes, the service gets a notification and re-indexes that item. When the system is idle, it may also do a full crawl to catch any missed changes. The index is stored in a compressed format, and it can grow to several hundred megabytes depending on how much content you have.

Why Does the Indexer Use High CPU or Memory?

It’s normal for the indexer to spike after a fresh install, after adding a new drive, or after a large file change (like copying thousands of files). The service is designed to back off when you’re actively using the computer, but sometimes it doesn’t. Common causes:

  • Large files (like a 10 GB PDF) being indexed.
  • Corrupted index files causing repeated rebuilds.
  • Many small files (e.g., a folder with 100,000 images).
  • Third-party software that requests indexing of network or removable drives.

If the indexer runs at 100% CPU for hours, you can rebuild the index (see below). If it’s still stuck, you can exclude problematic folders from indexing.

How to Configure Indexing Options

You can control what gets indexed. Open Control Panel → Indexing Options (or search “Indexing Options” in the Start menu). Here you’ll see the indexed locations. To add or remove locations:

  1. Click Modify.
  2. Check or uncheck folders and drives.
  3. Click OK. The indexer will update accordingly.

You can also click Advanced to:

  • Rebuild the index (deletes and recreates it from scratch).
  • Choose whether to index encrypted files (requires special permission).
  • Set file type extensions to include or exclude (e.g., exclude .tmp files).

Be careful: excluding a folder means searches will not find files inside it. For example, if you exclude your Downloads folder, searching for a downloaded PDF by name will not find it in the Start menu search.

Common Problems and Troubleshooting

Problem: Search returns no results for a file that exists. This usually means the file is in a location not indexed. Move it to an indexed folder (like Documents) or add that folder to the index.

Problem: Indexer constantly re-indexes. Check for corrupted files. Run chkdsk on the drive? Actually, first try rebuilding the index. If that doesn’t help, use the Search and Indexing troubleshooter in Settings (Settings → System → Troubleshoot → Other troubleshooters).

Problem: Indexer uses too much disk space. The index can be large. You can reduce it by limiting indexed locations or file types. But note that the index is compressed; it’s usually less than 10% of the total size of the indexed content.

Problem: Can’t stop the indexer. You can disable the Windows Search service (services.msc), but that will break search in the Start menu and File Explorer. Not recommended unless you use a third-party search tool.

Indexer vs. Instant Search vs. Everything

Windows Search indexer is the default. Third-party tools like Everything (by voidtools) do not use the indexer; they read the Master File Table (MFT) of NTFS drives directly, which is faster for file names only. However, they do not search file contents or metadata like email. So the indexer is more comprehensive but uses more resources. For most users, the built-in indexer is sufficient.

Frequently Asked Questions

Is it safe to disable Windows Search Indexer?

It’s safe in the sense that it won’t break Windows, but you’ll lose the ability to search for file contents and metadata. Start menu search will become very slow, and File Explorer searches will scan the entire drive each time. If you rely on search, keep it enabled.

How do I rebuild the search index?

Go to Control Panel → Indexing Options → Advanced → Rebuild. This deletes the current index and recreates it. It can take a few hours for large drives, but it often fixes corrupted index problems.

Why is the indexer running after I just started my PC?

It’s normal. The indexer runs at startup to process any changes that happened while the PC was off. It should settle down after a few minutes. If it doesn’t, check for a large number of new files or a stuck process.

Does the indexer slow down my computer?

It can, especially during initial indexing or when you add many files. But it’s designed to pause when you’re actively using the computer. If it’s constantly at high CPU, you may need to exclude certain folders or rebuild the index.

Can I move the index to another drive?

Yes. In Indexing Options → Advanced, you can change the Index location to another drive. This is useful if your C: drive is an SSD with limited space. The index will be stored there, but it may slow down search slightly if the drive is slower.

Why doesn’t the indexer index my network drives?

By default, Windows does not index network drives because they may not be available all the time. You can add a network drive to the index, but it will only index when the drive is connected. Also, the indexing service may not have permission to read the files. Use the Modify button in Indexing Options to add the drive.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →