troubleshooting Question

Exchange search broken. Client search results don't return any hits after March of this year.

Avatar of Ted Fines
Ted FinesFlag for Vanuatu asked on
Exchange
5 Comments1 Solution11 ViewsLast Modified:
Exchange 2019 (15.2)

Indexing is running.
Get-MailboxDatabase | Format-Table Name,IndexEnabled

Open in new window


Running a test search on a sample mailbox indicates search shows no output whatsoever.
Test-ExchangeSearch -Identity sample@domain

Open in new window


And the search index status also seems to show that it isn't doing anything.
Get-MailboxDatabaseCopyStatus | fl Name,*index*
Creating a new session for implicit remoting of "Get-MailboxDatabaseCopyStatus" command...


Name                         : db01\EXCHANGE
ContentIndexState            : NotApplicable
ContentIndexErrorMessage     :
ContentIndexErrorCode        :
ContentIndexVersion          :
ContentIndexCrawlVersion     :
ContentIndexBacklog          :
ContentIndexRetryQueueSize   :
ContentIndexMailboxesToCrawl :
ContentIndexSeedingPercent   :
ContentIndexSeedingSource    :
ContentIndexServerSource     :

Open in new window


Here is what I tried:
stop-service msexchangefastsearch
stop-service hostcontrollerservice

Open in new window

Browse to the edb file path and delete the folder there named something like 9726BCE3-622C-4675-8A20-57BE574A5C9B12.1.Single
Remove all four directories that are located under the following folder: C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\Data\Nodes\Fsis

cd C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\Installer
.\installconfig.ps1 -action I -datafolder "c:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\Data"

Open in new window

stop-service msexchangehm*
Get-Mailbox -Monitoring | Remove-Mailbox
start-service msexchangehm* 

start-service msexchangefastsearch
start-service hostcontrollerservice

Open in new window

But no change.  Get-MailboxDatabaseCopyStatus | fl Name,*index* still shows "ContentIndexErrorMessage" and nothing else.


ASKER CERTIFIED SOLUTION
Saif Shaikh
Server engineer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros