Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Outlook 2016 for Mac - search not working

Just installed the new Microsoft Office 2016 for Mac. Outlook mail migrated nicely and everything seems to be there however, the search function isn't finding anything at all. Do I simply need to leave Outlook running and allow it to index? Or, do I need to do an additional step to get it to be able to search my mail?


I am running El Capitan 10.11.4


Any help is appreciated.

MacBook Pro with Retina display, OS X El Capitan (10.11.4)

Posted on May 8, 2016 7:27 PM

Reply
19 replies

Mar 16, 2017 2:12 PM in response to jpsteeler

Hard to say what that did, but from what I can see, that command has nothing to do with Spotlight. There isn't even an argument for -E. But then, it's hard to tell what this command does at all. The description is pretty darn vague. An Internet search turns up almost no information on this Terminal command.


Glad you're index is working, I just don't see how this command could have done anything to help.


MODULI(5) BSD File Formats Manual MODULI(5)
NAME
moduli -- Diffie-Hellman moduli
DESCRIPTION
The /etc/moduli file contains prime numbers and generators for use by sshd(8) in the Diffie-Hellman
Group Exchange key exchange method.
New moduli may be generated with ssh-keygen(1) using a two-step process. An initial candidate
generation pass, using ssh-keygen -G, calculates numbers that are likely to be useful. A second
primality testing pass, using ssh-keygen -T, provides a high degree of assurance that the numbers are
prime and are safe for use in Diffie-Hellman operations by sshd(8). This moduli format is used as the
output from each pass.
The file consists of newline-separated records, one per modulus, containing seven space-separated
fields. These fields are as follows:
timestamp The time that the modulus was last processed as YYYYMMDDHHMMSS.
type Decimal number specifying the internal structure of the prime modulus. Supported
types are:
0 Unknown, not tested.
2 "Safe" prime; (p-1)/2 is also prime.
4 Sophie Germain; 2p+1 is also prime.
Moduli candidates initially produced by ssh-keygen(1) are Sophie Germain primes
(type 4). Further primality testing with ssh-keygen(1) produces safe prime moduli
(type 2) that are ready for use in sshd(8). Other types are not used by OpenSSH.
tests Decimal number indicating the type of primality tests that the number has been sub-jected subjected
jected to represented as a bitmask of the following values:
0x00 Not tested.
0x01 Composite number - not prime.
0x02 Sieve of Eratosthenes.
0x04 Probabilistic Miller-Rabin primality tests.
The ssh-keygen(1) moduli candidate generation uses the Sieve of Eratosthenes (flag
0x02). Subsequent ssh-keygen(1) primality tests are Miller-Rabin tests (flag 0x04).
trials Decimal number indicating the number of primality trials that have been performed on
the modulus.
size Decimal number indicating the size of the prime in bits.
generator The recommended generator for use with this modulus (hexadecimal).
modulus The modulus itself in hexadecimal.
When performing Diffie-Hellman Group Exchange, sshd(8) first estimates the size of the modulus required
to produce enough Diffie-Hellman output to sufficiently key the selected symmetric cipher. sshd(8)
then randomly selects a modulus from /etc/moduli that best meets the size requirement.
SEE ALSO
ssh-keygen(1), sshd(8)
STANDARDS
M. Friedl, N. Provos, and W. Simpson, Diffie-Hellman Group Exchange for the Secure Shell (SSH)
Transport Layer Protocol, RFC 4419, March 2006 2006.

Feb 14, 2017 5:35 AM in response to mjsjay

I tried manyt of the suggestions on the web to get Outlook's search function working; rebuilt my Outlook database and Main Identity several times, forced Spotlight to reindex my HD using Terminal etc, but couldn't get it working.

Oddly, Spotlight and Apple Mail had no problems searching for emails, just Outlook that couldn't.


It was this suggestion that finally cured it for me: https://forums.macrumors.com/threads/outlook-2011-search-not-working-after-hd-sw ap.1316668/#post-16099768

After emptying my Inbox folder cache (right click on Inbox - Folder Permissions) it took a while to resynchronise with my Exchange server. However, the end result was Outlook's search function fully restored.

Mar 16, 2017 1:55 PM in response to mjsjay

None of the solutions that I have seen from Apple and Microsoft worked for me (including re-indexing Spotlight and uninstalling and reinstalling Office entirely). But here is what did work: Microsoft recommends running the following command in Terminal to re-index Spotlight: mdimport -L . This failed for me repeatedly (I also tried re-indexing Spotlight using the System Preferences> Spotlight> Privacy on/off technique as well, did not work). What worked for me is running the Terminal command that completely ERASES and REBUILDS the Spotlight (rather than only re-indexing it): sudo moduli -E . This command took longer for my computer to process as it appeared to entirely rebuild the corrupted Spotlight index from the ground up rather than merely re-indexing a mess. Restarted computer afterward. Now Outlook and Spotlight are searching and finding my recent and emails dating back seven years for first time in a week. Hope it stays that way. Cheers.

Mar 16, 2017 2:25 PM in response to Kurt Lang

Try Google searching: "sudo mdutil command". Produces a number of sites that describe the function of command sudo mdutil -E as erasing the Spotlight index and rebuilding it. For example: http://blog.shiraj.com/2014/01/terminal-commands-for-improving-spotlight-indexin g-volume/; http://osxdaily.com/2012/02/02/reindex-spotlight-from-the-command-line/ . I'm no expert, but it worked for me.

Mar 16, 2017 2:35 PM in response to jpsteeler

Yes, sudo mdutil -E would work. What you wrote above though was moduli, not mdutil. Moduli just happened to be another existing Terminal command. Hence the confusion of how it could have helped when I looked up moduli to see what it did. 🙂


Edit: In my prior post, autocorrect messed it up.


Autocorrect drive me nuts. I disable it on all my Macs. I'd rather have a misspelled word go through than have it change something to a word I didn't want, and don't notice it made the change.

May 10, 2016 12:50 PM in response to mjsjay

Since Outlook's arrival (replacing Entourage) in Office 2011, it relies on Spotlight to do any searching of its own database. Open the System Preference and click on the Spotlight icon, then the Privacy tab. Drag and drop your startup drive (where Office should also be located) from the desktop into the open window. Or add it using the plus button. Then highlight the drive and click the minus button. OS X will reindex the drive. When it's done (and as it's working), search in Outlook should work.

May 10, 2016 1:41 PM in response to Kurt Lang

Hi Kurt, thank you for this!


However, I am a bit slow - where do I find the startup drive? - or maybe the question should be Which Start Up Drive do I want??

By searching in Finder I have found two folders labeled "Startup" so far but...

One is located in Applications/Office and within it contains additional folders for Excel, Powerpoint & Word - but there appear to be no files in those subfolders and Outlook is not listed.


The other is located in User Content/Library/GroupContainers/UBF8T346G9.Office/UserContent and within it contains two additional folders: Excel & Word


To be even more confusing. I have found a couple folders labeled "StartUpItems" that are located here:

I went to Devices and chose the Mac HD then: Library>StartUpItems - however I don't see any files but I assume they must be hidden.

Also from Devices and chose the Mac HD then: System>Library>StartUpItems - again, no files are viewable

Are these actually the same folder just displayed/accessed differently? Or actually two different ones?


Thanks for the help!

Jay

Outlook 2016 for Mac - search not working

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.