24

When I enter a string that matches part of the name of an application on Mac, the OS X Spotlight search feature will suggest apps for me to launch. This works for every app except one: Mathematica:

enter image description here

While the string is recognized (presumably from my history) the application is not suggested, and the only way to launch it is directly from the Finder or some other awkward workaround.

Why would — indeed how could — a single lone application behave differently in this regard? How can an application hide itself in this way from Spotlight?

And most importantly: what can I do to restore this standard piece of functionality?


Note that this problem is unique to Mathematica. For example for JetBrains apps, I get:

enter image description here

Moreover, it extends to the Finder itself. For example if I search there I get

enter image description here

even though Mathematica is clearly there

enter image description here

I can reproduce this (for Mathematica only) by simply updating (download, open the DMG, drag the new version to the Applications folder, replace). This is indeed unique to Mathematica (in my experience). I update at least one app a day in this or similar ways, and none of them vanish as a result from Spotlight; only Mathematica.

5
  • 1
    What happens if you explicitly exclude the app, via drag and drop, into System Preferences > Spotlight > Privacy and then close/reopen and remove the app. Does it now appear in Spotlight? Commented Mar 4, 2016 at 15:34
  • @user3439894: Yes! That seems to work!
    – orome
    Commented Mar 4, 2016 at 15:58
  • Not sure what caused the issue with that particular app however I was hoping that flipping the bit, so to speak, would allow it to be seen. Let us know if it disappears again. Commented Mar 4, 2016 at 16:32
  • The problem has resurfaced following the "upgrade" to version 11.
    – orome
    Commented Aug 16, 2016 at 19:39
  • The issue continues with 11.3.
    – orome
    Commented Mar 11, 2018 at 15:35

3 Answers 3

45

While this does not directly answer as to why that particular app does not appear in Spotlight, nonetheless as a workaround, try the following:

Explicitly exclude the App, via drag and drop from Finder, into System Preferences > Spotlight > Privacy, and then close/reopen Spotlight preferences and remove the App by selecting it, then click the minus button [-] at the bottom left of the list window.

The App should now appear in Spotlight, however it may disappear again if the root cause is triggered again.

8
  • This seems to work. I'll keep an eye on it and be back if the problem reappears (e.g., following an update of the app). How this occurred remains a mystery though (and how Wolfram managed to accomplish it when no other app in all the years I've used a Mac — and all the hundreds of apps I've used — has shown this odd behavior)!
    – orome
    Commented Mar 4, 2016 at 16:41
  • The bug reappeared (again, uniquely to Mathematica) with the "upgrade" to version 11, and this fixed it again (for now).
    – orome
    Commented Aug 16, 2016 at 19:41
  • @raxacoricofallapatorius, As I do not use Mathematica I'm unable troubleshoot the root cause of this issue. Lets hope that flipping the bit, so to speak, continues to work as a workaround until the root cause is determined and fixed on the developer's end. (That is of course assuming this issue isn't unique to your system and is a reproducible issue on other systems too.) :) Commented Aug 16, 2016 at 20:00
  • 2
    Seems like some app updates cause spotlight to not recognized the newer versions. This is a great easy fix though!
    – Fydo
    Commented Oct 17, 2016 at 19:23
  • 3
    I've seen this issue recently with Slack and Radio Paradise (third-party App Store apps) on macOS 10.12.4. There seems to be a bug in the way App Store updates apps that triggers this failure to be indexed in Spotlight, but only sometimes. If this issue affects you, I strongly recommend sending a bug report to Apple via their feedback form. Commented May 11, 2017 at 10:58
5

I was facing the same issue with Todoist and Microsoft Outlook. The answer above didn't solve the problem for me on MacOS Sierra 10.12.6, as you can only exclude whole folders now in the Spotlight Privacy tab. I tried that, but it didn't help. However a similar solution worked for me:

  1. System Preferences > Spotlight > Search Results
  2. Untick 'Applications'
  3. Close the settings
  4. System Preferences > Spotlight > Search Results
  5. Tick 'Applications'
4
  • fwiw, this did not work for me but the accepted answer did.
    – steel
    Commented Aug 3, 2017 at 19:08
  • 1
    This worked for me. Commented Aug 24, 2017 at 2:06
  • Didn't work for me. Skitch disappeared and I can't get it back
    – vault
    Commented Mar 14, 2018 at 12:37
  • you can only exclude whole folders now in the Spotlight Privacy tab Actually, by following along with user3439894's instructions, I found that dragging and dropping a single application still works, even though you can't add it that via the '+' button. Commented Jan 29, 2019 at 0:59
1

For me the answer was, in the same fashion as the accepted answer, to exclude the entire harddrive and then re-eanble it.

As described here: https://discussions.apple.com/thread/7356551

Note: this is also the method recommended by Apple for rebuilding the Spotlight index, see support article here: https://support.apple.com/en-us/HT201716

1
  • This is also the official way to reset the Spotlight database.
    – t0r0X
    Commented Mar 20, 2019 at 21:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .