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

Mountain Lion Spotlight searches only for filename, not for content (?)

Hi,

I recently upgraded from Snow Leopard to Mountain Lion.


In Snow Leopard, I could use the search/Spotlight to find both filenames and contents (there used to be switch between "filename" and "content" views in the Spotlight search results window).

Now, Spotlight apparently only looks for filenames.

How can I re-anble it to also look into the content of the files? There is no option to set this in the Spotlight preferences...

Thank you

Mac Book Pro, iMac, iPhone, Mac OS X (10.6.4)

Posted on Dec 16, 2012 2:16 AM

Reply
8 replies

Dec 17, 2012 11:25 PM in response to LousyFool

Hi Lousy,

Thank you for the reply!

But that's not it:


Turns out, that instead of having a button to let you switch between "content" and "filename" in the search results (Snow Leopard), you now (Mountain Lion) have to click ➕ at the very right hand corner below the search field in the search result view in order to bring up advanced search features where you can narrow it down with content-only, filename-only or other exclusion criteria.


I liked the old way better because of less clicks/more obvious location, but anyway, function is indeed still there...


Best wishes

Dec 18, 2012 3:23 AM in response to _daniel_

_daniel_ wrote:


But that's not it:


Well, that was it. The doc behind this link I provided in my previous post describes the same what you are saying, only with slightly different words:

Also, you can click the Add ➕ button located on the right side of the search window below the search field to narrow down search results. For example, choose Contents for your search to include the contents of the files, or choose Name to have your search apply only to the name of your files.

To make more choices available in the search criteria pop-up menu, choose Other and select the checkbox for each attribute you want to add or use the search field to quickly locate an attribute. For example, to be able to search copyright information, select the Copyright checkbox in the list of attributes and click OK. Add or remove search criteria as needed by clicking Add ➕ or Delete (–).

They even throw in a screenshot. Guess you didn't (want to) read it, but so it goes... not much time I wasted. 😉


Other than that, I agree: "Progress" is relative -- more choices, but also more clicks...

Dec 18, 2012 3:44 AM in response to LousyFool

Touche! I actually meant the rebuilding of the index, that was what I tried after your post and it did not really change anything... I thought it a technical issue not a, erm, user interface improvement issue that the switch buttons are gone 🙂


In addition, I also had another issue on my side, i.e. my first Mountain Lion search was in a folder full of PDF files that did not have a PDF file extension. Spotlight did not index their contents at all, apparently, and I could not find a word I was 100% sure is in several of the files. That is why I did not get content, only filename search results, and thought Spotlight is seriously broken. After a bulk renaming .pdf the files, they are now indexed by Spotlight, all good...

Dec 18, 2012 4:04 AM in response to _daniel_

_daniel_ wrote:


Touche! I actually meant the rebuilding of the index, that was what I tried after your post and it did not really change anything...

"First step first": Clicking the first link would indeed have been it. The second was to provide extra help in case you still can't find stuff with Spotlight.


Just mentioning it because it is a bit frustrating: I'm not always right, but once you provide a solution and people decide to skip it and start further down the list... well, what do they expect. Duh.

Dec 28, 2012 5:49 PM in response to Barney-15E

Thank you, Barney.

I played a bit with this and found a second way to do this: after typing the search term in the Spotlight search box in Finder, but before pressing Enter to execute the search, you can also press the Down key and you will have the option to restrict to filename only (the default is content). After doing this, a 'dropdown menu' appears in the beginning of the Spotlight search box, which can be switched between Name (filenname) or Everything (content). This is essentially what happens with the above shortcut.

Mountain Lion Spotlight searches only for filename, not for content (?)

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