Search not accurate, but not indexing

Status
Not open for further replies.

Cara

Senior Member
Outlook version
Outlook 2013 64 bit
Email Account
Office 365 Exchange
Is this a VBA issue, an Outlook issue, or a Windows issue?

I'm using Outlook for MS 365, and recently got a Windows 10 update (Windows 10 Home, v 10.0.19042 Build 19042).

Now, my VBA advanced searches return some results, but not all. Today, for example, with a variable set to 24 hours ago and a search string of
(folder:Inbox OR folder:(All Mail)) received:(>=" & variable & ")"
and a scope of olSearchScopeAllFolders
I see emails from yesterday and before - but not from today. And I know there are relevant emails from today.

Indexing is done, according to Outlook.

Any tips on resolving?

Thanks
 
I can't see how to edit my post, but that search string should NOT have emoticons in it! Should be
(folder:Inbox OR folder: (All Mail) ) received: (>=" & variable & ")"
(without the extra spaces in there).
 
You have about 10 min or so to edit... I'm used to see the annoying emoji in posts and knew you didn't do it. :)

Is it not finding anything for today or are the results-based on UTC time? There is a search bug that searches based on UTC - so a Today search in Eastern TZ returns results from 7 PM yesterday - 6:59 PM today.
 
You have about 10 min or so to edit... I'm used to see the annoying emoji in posts and knew you didn't do it. :)

Is it not finding anything for today or are the results-based on UTC time? There is a search bug that searches based on UTC - so a Today search in Eastern TZ returns results from 7 PM yesterday - 6:59 PM today.

Well, today I'm not getting any results, so I suspect either a problem with the recent Windows update and search indexing, or corruption in my profile? This is very frustrating, because my VBA searches frequently have issues - but, other times they work fine so I'm pretty sure the VBA code is okay!

I initiated support with Microsoft about it yesterday but, by the time the rep got around to my problem, I had something I had to do and had to leave the chat.

I hesitate to rebuild my search index just because that hasn't helped in the past. Any ideas?

Thanks
 
Well, today I'm not getting any results, so I suspect either a problem with the recent Windows update and search indexing, or corruption in my profile? This is very frustrating, because my VBA searches frequently have issues - but, other times they work fine so I'm pretty sure the VBA code is okay!

I initiated support with Microsoft about it yesterday but, by the time the rep got around to my problem, I had something I had to do and had to leave the chat.

I hesitate to rebuild my search index just because that hasn't helped in the past. Any ideas?

Thanks

Am I the only one experiencing this problem with searching in Outlook? Even if I remove the date criteria from my search - only results from 4 days ago and before are returned...
 
As of today - simple searches - not VBA ones, just simple strings entered into the search bar - are no longer working. I get "Searching..." and never receive ANY results.

No one else is seeing this problem? How do I resolve this? I have an open case (I think?) with Microsoft, but am not hearing anything from them.
 
I had a similar problem a few days ago. I called MS tech support and the following fixed the issue for me.

It's a simple online repair.

1. Close Outlook

2. In Windows 10: Go to Settings: Programs and Features

3. Right Click on Office 2019

4. Select Change, then Online Repair

5. It will run for about 5 minutes or so. When done, run Outlook and it will hopefully be fixed.
 
I don't have Office 2019 - I have Microsoft 365, and I think I did this, but I'll try it again.

What's working for me right now is - I created a batch file (that I have to run with admin rights) that stops and then starts the Windows Search Service. Then I start Outlook, and my searches work fine. But I have to do that every time I start Outlook, and it's a pain, and shouldn't be necessary!
 
Looks like my fix may not be permanent.

What does work, for like a day, is to re-index, but that takes forever.

Would love to hear about your batch file that stops and starts the Search Service.
 
I read this today on Woody's, Susan Bradley said:
Outlook search issues
If you use the desktop version of Outlook, you may have noticed that after the installation of the December updates, Outlook search stopped working (Microsoft note). The January updates have not fixed this issue.

Although this is a major side effect of the Windows patches, I’m less affected because I find the Outlook search less than ideal and use alternatives. One option is to use Web-based Outlook client, if available to you. I’ve even gone so far as to purchase the third-party tool X1 Search, specifically to search emails. My cynical opinion is that this won’t be the first, nor last, time that Outlook search will be broken by changes to Windows. If you’d like to use the official Microsoft workaround, click to download and then click again to install the registry keys in the Knowledge Base article.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
G Search Folders and Jump to Folder Outlook VBA and Custom Forms 2
A 'search people' now asks me to 'press enter' Using Outlook 8
A Relocate Search Bar in Outlook Using Outlook 2
A Search folder and move the email Outlook VBA and Custom Forms 0
farrissf Outlook 2016 Optimizing Email Searches in Outlook 2016: Seeking Insights on Quick Search vs Advanced Search Features Using Outlook 0
C Advanced search terms for "Outlook Data File" Using Outlook 1
T How to find or display the sub-folder name for an Archive Search Using Outlook 10
P Search folder: all emails sent to or from a domain Using Outlook 1
T Outlook365 search item listed as "potential matches" can't be opened Using Outlook 0
Victor_50 Outlook 2019 Jump to folder from search folder Outlook VBA and Custom Forms 0
E Outlook 365 Save Selected Email Message as .msg File - oMail.Delete not working when SEARCH Outlook VBA and Custom Forms 0
Witzker Outlook 2019 Macro GoTo user defined search folder Outlook VBA and Custom Forms 6
J Outlook search bar in Office 2021 Professional Using Outlook 1
T Outlook 365 Search Box reverting to old location Using Outlook 2
P Outlook 2013 search no longer works Using Outlook 2
C How to search for items in Outbox with multiple accounts? Using Outlook 20
J search doesn't find anything Using Outlook 1
kkqq1122 How would I add Search for attachment name Outlook VBA and Custom Forms 3
A Any way to force sort by/group by on search results with VBA? Outlook VBA and Custom Forms 1
B Search and Find Email by Folder Name Outlook VBA and Custom Forms 2
J How do you disable address search box when typing @ in body of email? Using Outlook 0
H Outlook 2019 intermittent search results Using Outlook 0
D Create advanced search (email) via VBA with LONG QUERY (>1024 char) Outlook VBA and Custom Forms 2
D Advanced e-Mail search on from/to contact group only searches for first 20 contacts in group Using Outlook 0
mll persistently customise columns in outlook advanced search Using Outlook 3
S vba outlook search string with special characters Outlook VBA and Custom Forms 1
S VBA search string with special characters Outlook VBA and Custom Forms 1
H Search Email Header for Content Type Outlook VBA and Custom Forms 1
P Posts in Folder No Longer Group by Conversation Column After Search Using Outlook 0
O Advanced search - can I use booleans Using Outlook 3
Y Filter unread emails in a search folder vba help Outlook VBA and Custom Forms 0
M Reverting The Outlook Search Box Location (or other undesired additions) Using Outlook 1
M Something went wrong and your search couldn't be completed Using Outlook 1
M Disable Contact Card Results when using "Search People" in Outlook Ribbon Using Outlook 7
J outlook 2007 doesn't let me choose which .pst to search Using Outlook 2
P outlook 2008 search box criteria couldn't be saved Using Outlook 2
C Outlook with Office365 - search across account, by date rate, in multiple folders - how? Using Outlook 2
D Custom Search Folders not refreshing/updating automatically Using Outlook 0
L New Location for the Search Bar Using Outlook 6
T How can you include Junk Email in Search Results like you can include Deleted Items? Using Outlook 3
J Outlook 2016 After a search in all mailboxes, where is each message that was found? Using Outlook 6
King Mustard Sort search groups by amount of items? Using Outlook 1
V Outlook 2016 will not move emails in search results Using Outlook 4
T Search for incoming e-mails for a specified time range Using Outlook 1
S outlook 2007 calendar search Using Outlook 6
M Outlook macro to automate search and forward process Outlook VBA and Custom Forms 6
J Message search and edit, another way? Outlook VBA and Custom Forms 4
S Create A Search Folder That Looks For Message Class? Outlook VBA and Custom Forms 0
R Outlook for Mac - Advanced Search and Tracking Sent Emails Using Outlook 0
R Search/Jump to a folder by typing its name Outlook VBA and Custom Forms 1

Similar threads

Back
Top