Repair search in Outlook 2016 for Mac

Recently I reinstalled macOS, and discovered that the search feature was not working properly in Outlook 2016 for Mac.

Using these instructions from Victor Sachs on this page, I was able to get it to work after Spotlight reindexed everything:

  1. sudo mdutil -i off /
  2. sudo rm -rf /.Spotlight*
  3. sudo rm -rf /.metadata_never_index
  4. restart the computer
  5. sudo mdutil -i on /
  6. sudo mdutil -E

Hopefully this will come in useful for you in the future. Thanks, Victor.