Techxplus

Menu
  • Apple +
    • MAC
  • Gadgets +
  • How-To
  • Tech Tips
  • Wordpress +
Home
Apple +
Mastering Spotlight Searches in Mac
Apple +

Mastering Spotlight Searches in Mac

Subhro September 8, 2019
Spotlight is the revolutionary search technology built into OS X and it works fairly well out of the box, but with these tricks and tips, you can master the spotlight searches.

You access it by clicking the magnifying glass icon in the menu bar or by pressing the ⌘ key and spacebar.

Spotlight creates an index of practically everything on your hard drive—including email messages, contacts, and even Calendar events—and it uses this index to Search your hard drive.

If you’re looking for a specific file or folder, the last thing you want to do is wake through email messages in the search results. Fortunately, you can improve the Spotlight by prioritizing search results and turning off some document categories when you perform a search.

Turning off document categories do not change the Spotlight’s index.
Only the displayed results are modified—Spotlight’s index is changed

Here’s how to deactivate Spotlight document categories:

  1. From the Apple menu, select System Preferences.
  2. Select Spotlight.
  3. Deselect categories to prevent these types of files from appearing in the search results.
  4. Drag categories up and down the list to prioritize the search results. Categories at the top of the list appear first in the results.


Spotlight

The next time you perform a search with Spotlight, you’ll have to sort through fewer search results. Just remember that you’ll need to reselect categories in System Preferences if you ever want to search for files in different categories.

Hiding Dictionary and Calculator Results

You can’t disable the dictionary and calculator search results in System Preferences, but you can manually hide those results if you don’t want to see them. Just open the Terminal application and type the following:

defaults write com.apple.spotlight DictionaryLookupEnabled NO

Press RETURN and then type the following:

defaults write com.apple.spotlight CalculationEnabled NO

Press RETURN again and then restart your computer. From now on, all of the dictionary and calculator search results will be hidden when you perform a search with Spotlight.

To start showing the dictionary and calculator search results again, type
the same commands but replace the NO at the end of the commands with YES.

Spotlight Search Operators

Limiting search categories and prioritizing results effectively focuses Spotlight searches, but it’s a lot of work to open System Preferences every time you want to limit Spotlight’s categories for one search. A better idea is to use search operators.

These prefixes tell Spotlight to use a single search category or metadata variable for your current search.

To search for documents… Use
In a specific category kind:audio, kind:email, kind:folder, kind:word, etc.
Created by a specific author author:name
Created or modified on or within
specific dates
date:today, created:12/14/11-12/25/11,
modified:
With Boolean operators “my new mac”, Matt AND
Emily, apple NOT Microsoft

Rebuilding Spotlight’s Index

Spotlight performs searches by parsing through an index of all the files and folders on local hard drives connected to your computer. OS X is supposed to update this index in real-time when you create or modify files or folders, but problems occasionally crop up.

Spotlight won’t work correctly if this index is incomplete or corrupted. When search results don’t appear as expected, it’s probably time to manually rebuild the Spotlight’s index.

Here’s how to rebuild the Spotlight’s index:

  1. From the Apple menu, select System Preferences.
  2. Select Spotlight.
  3. Click Privacy.
  4. Click the + button.
  5. Select a hard disk or volume.
  6. Click the – button. Spotlight rebuilds the index of the selected hard disk or
    volume

Spotlight Index

Rebuilding the Index Using the Command Line

You can also use the command line to rebuild the Spotlight’s index. Open the Terminal application and enter sudo mdutil -E / Authenticate with your administrator password, and a message appears indicating that the index will be rebuilt. Spotlight rebuilds the index of your hard disk. You can track the rebuilding progress by clicking the Spotlight menu.

Share
Tweet
Email
Next Article

Related Articles

paste without formatting mac
To earn extra productivity, you can shave off a few …

How to paste without formatting in MAC?

About The Author

Subhro

Leave a Reply

Cancel reply

Recent Posts

  • How to paste without formatting in MAC?
  • How to create free business email and forward to your Gmail?
  • Change WordPress admin email
  • Remove Bitnami Banner from WordPress on Google Cloud.
  • Homebrew for MAC: The complete guide

Recent Comments

  • Marcelo Miguel Bazan on Change WordPress admin email
  • Marcelo Miguel Bazan on Change WordPress admin email
  • Marcelo Miguel Bazan on Change WordPress admin email
  • SONGSTER2998 on Change WordPress admin email
  • porno on Homebrew for MAC: The complete guide

Archives

  • October 2020
  • April 2020
  • February 2020
  • December 2019
  • October 2019
  • September 2019
  • August 2019

Categories

  • Apple +
  • Gadgets +
  • How-To
  • MAC
  • Tech Tips
  • Wordpress +

Techxplus

Categories

  • Apple +
  • Gadgets +
  • How-To
  • MAC
  • Tech Tips
  • Wordpress +

Featured Posts

paste without formatting mac
free business email
admin email wordpress

LINKS

  • About Us
  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Terms and conditions
  • Contact
Copyright © 2021 Techxplus

Ad Blocker Detected

Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Refresh
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Cookie settingsACCEPT
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.

SAVE & ACCEPT