Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

Outlook "Search results may be incomplete because items are still being indexed": check, wait or rebuild

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

The bar in classic Outlook for Windows that says "Search results may be incomplete because items are still being indexed" means the search index has not finished covering the mailbox. If the number of items waiting to be indexed is falling, wait. If it is not falling, Microsoft's search page works through the Windows Search service, the indexed locations and the file-type filter, and then a rebuild of the search catalogue.

Check the progress first. A rebuild is the step to keep for an index that is not moving, not the first move.

What the error means

Microsoft's PDF iFilter page describes the exact scenario. When you use instant search in Outlook, you get either a message that states "No matches found" or an InfoBar message that states "Search results may be incomplete because items are still being indexed", and the Indexing Status window still shows items remaining to be indexed.

The same page ties one cause to the symptom: "This problem occurs when a PDF iFilter stalls the Windows Desktop search indexer, causing frequent reindexing of Outlook items." In the Application event log it describes two Search events in the Gatherer task category:

  • Event ID 10023, source Search.
  • Event ID 10024, source Search, with the text The filter host process <PID> did not respond and is being forcibly terminated.

Its scope line names Outlook 2019, 2016, 2013, Outlook for Microsoft 365, Outlook 2010 and Outlook 2007.

Microsoft's separate search page describes the check for a normal, unfinished index: open Indexing Status, note the items remaining, wait five minutes, then check again, and continue only if the number has not decreased. The message therefore has more than one possible meaning: indexing in progress, or indexing stuck. Microsoft's pages give no figure for how long a first index takes.

Likely causes

Cause What you see How to confirm
Indexing is still running The items remaining in Indexing Status fall between checks Note the count, wait five minutes, check again
A PDF iFilter stalls the indexer Items remaining do not fall; events 10023 and 10024 in the Application log Event Viewer, Application log, source Search, category Gatherer
Windows Search service stopped or not set to start Items remaining do not fall services.msc shows Windows Search not Running
Outlook not included in indexing Searches return few or no items Indexing Options lists no Microsoft Outlook under Included Locations
Not all data files selected for search Items from one data file never appear Search Tools, Locations to Search shows an unselected data file
Older mail is not cached on the computer Older items are missing from search results The "Download email for the past" slider in the account settings is set to a short period

Microsoft's pages do not rank these causes.

Prove the cause before changing anything

All of these read only.

  1. Start classic Outlook, select the Search box, then Search Tools, then Indexing Status. Microsoft's page says: "If classic Outlook has not finished indexing, note the items remaining to be indexed, wait five minutes, and then check again."
  2. Open Event Viewer, go to the Application log and look for Event ID 10023 or 10024 from the source Search. Microsoft's PDF iFilter page lists those two events.
  3. Press the Windows key, type services.msc and press Enter. Find Windows Search and note its Status and its Startup type. Write both down.
  4. In Outlook, select Search Tools, then Locations to Search, and check that every data file listed is selected.
  5. Close Outlook and open Indexing Options in Control Panel. Check that Microsoft Outlook appears under Included Locations.
  6. In Indexing Options select Advanced, then the File Types tab, find the msg extension and look at the Filter Description. Microsoft's page says it should read Office Outlook MSG IFilter. If it does not, the page says "either the Windows Search service is not working correctly, or Microsoft Outlook could not install the filters correctly" and to contact Microsoft Support.

Example (illustrative): at contoso.com.au a user on rds01 has Indexing Status showing 8,400 items remaining. Five minutes later it shows 6,150. The count has fallen by 2,250 in five minutes, which is 450 items a minute, so about 14 minutes remain if the rate holds (6,150 divided by 450). The right action is to wait. If the second reading had also been 8,400, the index would be stuck and the next checks would apply.

Fix

Work through the list in the order Microsoft's search page gives, and stop when the search works.

Data files not selected

Microsoft's search page says: "Ensure all data files/stores listed are selected." Before you change it, under Search Tools, Locations to Search, note which boxes are ticked and which are not.

Risk: The next step ticks a data file that was not selected, so Outlook searches that file and indexes its items. Microsoft's page does not describe the load that causes.

  1. In Outlook, select the Search box, then Search Tools, then Locations to Search.
  2. Tick each data file that is listed but not selected.

To undo it: open Locations to Search again and clear the box you ticked, so the boxes match the list you noted.

Windows Search service

If Windows Search is not Running or its startup type is not Automatic (Delayed Start), Microsoft's page says to set the Startup type to Automatic (Delayed Start) and, if the status is not Running, to select Start. Before you change it, use the Status and Startup type you wrote down under Prove the cause as your record.

Risk: The next step changes the startup type of the Windows Search service and starts it, so Windows can begin or resume indexing. Microsoft's page does not describe the load that causes. On a shared server such as rds01, choose a quiet time.

  1. In services.msc, double-click Windows Search.
  2. Set Startup type to Automatic (Delayed Start).
  3. If the Service status is not Running, select Start, then OK.

To undo it: open the same properties window, set Startup type back to the value you wrote down, and select Stop if the service was stopped before.

Included locations

If Microsoft Outlook is not under Included Locations, Microsoft's page says to select Modify and enable the Microsoft Outlook check box. Before you change it, use the Included Locations list you checked under Prove the cause as your record: Microsoft Outlook is not listed.

Risk: The next change adds Outlook to the locations Windows indexes, so Outlook items are added to the index.

  1. Exit classic Outlook and open Indexing Options.
  2. Select Modify and enable the check box next to Microsoft Outlook.
  3. Select OK, then Close.

To undo it: open Indexing Options, select Modify and clear the check box next to Microsoft Outlook.

The PDF iFilter cause

Microsoft's PDF iFilter page says to update "any applications that offer PDF file functionality with the latest patches" and then rebuild the index. The page gives no update steps and no list of products, so the update itself is a decision for the computer's owner.

Rebuild the index

On Microsoft's search page the rebuild comes after the indexed-location and file-type checks. The PDF iFilter page gives the same rebuild steps.

Disruptive step: The next steps rebuild the Windows search index. Search results for Outlook can stay incomplete until indexing finishes. Microsoft's pages give no figure for how long that takes. The rebuild runs from Windows Indexing Options, not from Outlook.

  1. Exit classic Outlook.
  2. Open Indexing Options in Control Panel and select Advanced.
  3. Select Rebuild, then OK in the Rebuild Index dialog box.
  4. Select OK, then Close.

Microsoft's pages describe no way to restore the earlier index, so there is no way back from a rebuild. If indexing does not finish after a rebuild, Microsoft's page says to contact Microsoft Support to request assistance with Windows Desktop Search.

If older items are missing

Microsoft's page on incomplete results says to increase the time in the account's offline settings so that more email is cached locally for indexing.

Before you change it, note the current position of the Download email for the past slider: open the dialog described in the steps below, read the position, and select Cancel without changing it.

Risk: The next step raises the amount of mail kept on the computer, so more mail is cached locally for indexing.

  1. Start classic Outlook and select File, then Account Settings, then Account Settings.
  2. On the Email tab, select your email account and select Change.
  3. Drag the Download email for the past slider to the period you want, or to All.
  4. Select Next, then Done, close the window and restart Outlook.

To undo it: repeat the steps and drag the slider back to the position you noted before, then restart Outlook.

Confirm the fix

  • Indexing Status shows no items remaining.
  • A search for a word in a message you know exists returns it, from both a recent and an older message.
  • No new Event ID 10023 or 10024 appears from the source Search in the Application log.

What to watch afterwards

  • The items-remaining count over the next day if the mailbox is large.
  • Whether events 10023 and 10024 return after a PDF reader update. The PDF iFilter page ties them to a stalled iFilter.
  • Disk space, if you raised the download period.

Risks and limits

These steps have not been run or lab-tested.

Microsoft's PDF iFilter page covers Outlook 2007 to Microsoft 365 but is not written for the new Outlook for Windows, and Microsoft's search page gives separate steps for new Outlook. The steps above are for classic Outlook only. Microsoft's pages give no time for a full index and no way to restore an index after a rebuild.

Sources