What is apple spotlight

Spotlight Overview

What is Spotlight?

Organizing data on a computer is a difficult job, and in most cases is the sole responsibility of the user. However, even the most organized user may find it nearly impossible to arrange their files in a way that makes it easy to find information. Because the underlying file systems offer only one way of organizing information, users must resort to special tools to search for what they want. The problem is that most search tools can be slow and limited in how they do their search. Also, users may want to search more than files. Users may want to search their mail archives, address book contacts, or other digital assets embedded inside a file.

What does Spotlight provide?

Spotlight provides a new way of organizing and accessing information in on your computer by using metadata. Metadata is data about a file, rather than the actual content stored in the file.

Metadata can include familiar information such as an asset’s author and modification date but it can also be keywords or other information that is custom to a particular asset. For example, an image file might have metadata describing the image’s dimensions and color model. Spotlight can use this information to allow a user to find all their high-resolution images using a CMYK colorspace.

Where Does Metadata Come From?

For Spotlight searching to work, it has to have metadata. While some bits of metadata (modification dates, file type, path name) are easy to gather for a given file, most of the interesting data is embedded inside the file. To gather this embedded information you must provide a Spotlight importer.

A Spotlight importer is a small plug-in bundle that you create to extract information from files created by your application. Spotlight importers are used by the Spotlight server to gather information about new and existing files.

Apple provides importers for many standard file types that the system uses, including RTF, JPEG, Mail, PDF and MP3. However, if you define a custom document format, you must create a metadata importer for your own content.

Important: It is imperative that developers provide Spotlight importers for their own custom document formats. Spotlight importers improve the user experience greatly by making sure your documents can be found during searches.

Searching Metadata in your Applications

The simplest way to provide Spotlight searching in your application is to display the standard Spotlight search window to users directly from your application using the HISearchWindow function, defined in the Carbon framework.

The Spotlight metadata framework provides a query API, MDQuery , that you can use in your application to search for files based on metadata values. Using this API, you initiate a query using the query expression syntax. You can sort the results based on different attributes and use those sorting criteria to organize the data before you present it to the user.

The Cocoa framework provides the NSMetadataQuery class that is an Objective-C interface to the MDQuery API. NSMetadataQuery uses the NSPredicate classes to construct queries rather than the Spotlight query expression syntax.

Читайте также:  Как выбрать часы apple iwatch по размеру

Spotlight is not only a means of searching for documents. Spotlight importers define metadata that Finder can display in its Get Info panel. This information provides more context and details about documents.

Image files provide their dimensions, pixel depth and other color related information.

QuickTime movies provide their duration.

PDF files provide information on the authors, security, dimensions, encoding, and where they originated.

It is the richness of the metadata that you provide that will improve the user experience when using your custom files. See Spotlight Importer Schema Format for more information on displaying your attributes in Finder.

Copyright © 2004, 2013 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2013-08-08

Источник

Search with Spotlight on Mac

Spotlight can help you quickly find apps, documents, emails and other items on your Mac. With Siri Suggestions, you can also get news, sport scores, weather conditions, stock prices and more. Spotlight can even perform calculations and conversions for you.

Ask Siri. Say something like: “How many centimetres in an inch?” or “What does parboil mean?” Learn how to ask Siri.

Search for something

On your Mac, click the Spotlight icon (if shown) in the menu bar or press Command-Space bar or press (if available in the row of function keys on the keyboard).

You can drag the Spotlight window anywhere on the desktop.

Tip: If the Spotlight icon isn’t in the menu bar, add it using Dock & Menu Bar preferences.

In the search field, type what you’re looking for — results appear as you type.

Spotlight lists top hits first; click a top hit to preview or open it. Spotlight also suggests variations of your search; you can view those results in Spotlight or on the web.

In the results, do any of the following:

Show a preview: Press the Tab key. Depending on the type of item selected in the results, you can interact with it. For example, select an app to list recently opened files, then click a file to open it. Or click the Play button to hear a song. Or click a button to purchase an app from the App Store.

See results of a suggested search in Spotlight: Click an item preceded by the Spotlight icon .

See results of a suggested search on the web: Click an item preceded by the Safari icon .

Open an item: Double-click it. Or select the item, then press the Return key.

Show the location of a file on your Mac: Select the file, then press and hold the Command key. The file’s location appears at the bottom of the preview.

Copy an item: Drag a file to the desktop or a Finder window.

See all results from your Mac in the Finder: Scroll to the bottom of the results, then click Search in Finder. To refine the results in the Finder, see Narrow your search results.

During downtime, or if you reach the time limit set for apps in Screen Time preferences, app icons in results are dimmed and an hourglass icon

Get calculations and conversions in Spotlight

You can enter a mathematical expression, currency amount, temperature or measurement in the Spotlight search field and get a conversion or calculation right in the search field.

Читайте также:  Графический планшет совместимый с айфоном

Calculations: Enter a mathematical expression, such as 956*23.94 or 2020/15.

Currency conversions: Enter a currency amount, such as £100, 100 yen, or “300 krone in euros.”

Temperature conversions: Enter a temperature, such as 98.8F, 32C or “340K in F.”

Measurement conversions: Enter a measurement, such as 25 lbs, 54 yards, 23 stone, or “32 ft to metres”.

Tip: Press the Tab key to show additional conversions in the preview area.

You can exclude specific folders, disks or types of information (such as email or messages) from Spotlight searches. See Change Spotlight preferences.

If you want Spotlight to search content only on your Mac and not include results from the web, you can turn off Siri Suggestions for Spotlight.

Источник

«Всевидящее око» Spotlight или борьба за анонимность

Два года назад компания Apple представила первый смартфон, оснащенный сканером отпечатков пальцев. iPhone 5S + Touch ID: гремучая смесь как с точки зрения функциональности, так и с точки зрения анонимности. С одной стороны, нет необходимости бесконечного ввода сложного пароля при осуществлении покупок/скачивания в App Store, можно забыть о вводе числового пароля при блокировке. С другой, каждый пользователь наверняка задавал себе вопрос: «Зачем Apple мой отпечаток»? Следующим шагом со стороны Apple стал выход OS X Yosemite с обновленным поисковым ассистентом Spotlight. Помимо удобства и мгновенного поиска есть у Spotlight и свои «тараканы»: отслеживание всех запросов (локальных в том числе) и передача их на сервера Apple.

Apple всегда убеждает пользователей в том, что ни отпечатки, ни данные геопозиции, ни какие-либо поисковые запросы не интересуют компанию. «Все чисто и прозрачно: все данные отправляются в зашифрованном виде и их использование службами безопасности невозможно». Разумеется, в это можно поверить, но для многих безопасность стоит на первом месте.

В чем виноват Spotlight?

Слова программиста Ashkan Soltani стоит трактовать следующим образом: установленная «на чистую» операционная система OS X Yosemite по умолчанию передает поисковые запросы и геопозицию. Сама компания ничего не скрывает и четко описывает принцип работы Spotlight:

Отказаться от такой «медвежьей услуги» можно, осуществив несколько самостоятельных настроек.

Настройки «на всякий случай»

Я не страдаю паранойей, не испытываю мании преследования, но меня печалит тот факт, что за мной ведется постоянная слежка. Отказаться от Apple? Простите, нет! Теоретически «кто ищет и кому это нужно – тот всегда сможет найти», но предупредить ситуацию можно, отключив некоторые функции поиска хваленого Spotlight.

Переходим в Системные настройки – Spotlight. Открываем вкладку «Результаты поиска» и без капли жалости снимаем три галочки: «Предложения Spotlight», «Сообщения и Почта» и «Поиск в Интернете с помощью Bing».

На этом настройки не оканчиваются. Для полного эффекта потребуется еще провести настройки и в браузере Safari. Переходим в настройки Safari, открываем вкладку «Поиск» и снимаем галочку «Включить Предложения Spotlight».

Дальше переходим в Настройки – Защита и безопасность. Открываем вкладку «Конфиденциальность» и в подпункте геолокации нажимаем «Подробнее» на Системных службах.

Запрещаем определение геопозиции системными службами, отключая «Предложения Spotlight».

Не забудем про iPhone

Spotlight любит «совать нос не в свое дело» не только во «взрослой» операционке OS X Yosemite, но и на платформе iOS (хотя Apple и там предупредила). Переходим в Настройки – Общие – Поиск Spotlight:

Отключаем поиск в:

    – в предложениях Spotlight;
    – в контактах;
    – в сообщениях;
    – в сообщениях e-mail;
    – в веб результатах Bing.

Пожалуй, на этом все. Как бы там не было, если вы действительно дорожите своей конфиденциальностью, а поиск Spotlight не стал «инструментом №1» в повседневной работе, смело отключайте его использование. Эффективно это или нет, покажет время. Винить Apple в посягательстве на личные данные пользователя тоже нельзя, ведь на OS X Yosemite и на iOS есть положения о конфиденциальности, просто мы так не любим их читать.

Читайте также:  Изобретение 21 века айфон

Владимир Кузин

DIY-техноман. Уверен, что все можно сделать своими руками. Коллайдер не в счет.

Источник

Поиск с помощью Spotlight на Mac

Spotlight помогает быстро находить приложения, документы, электронные письма и другие объекты на Mac. Если включены Предложения Siri, Вы также можете находить новости и просматривать результаты спортивных матчей, прогноз погоды, цены на акции и многое другое. Кроме того, Spotlight может выполнять вычисления и преобразования.

Спросите Siri. Произнесите, например: «Сколько сантиметров в дюйме?» или «Что такое бланширование?» Узнайте, как спросить Siri.

Поиск

На Mac нажмите значок Spotlight (если отображается) в строке меню, или нажмите сочетание клавиш Command-пробел, или нажмите клавишу (если она есть в ряду функциональных клавиш на клавиатуре).

Окно Spotlight можно перетянуть в любое место рабочего стола.

Совет. Если в строке меню нет значка Spotlight, добавьте его с помощью раздела настроек «Строка меню и Dock».

В поле поиска начните вводить запрос — результаты появляются уже при вводе текста.

Spotlight отображает топ-результаты вверху списка; нажмите топ-результат, чтобы просмотреть или открыть его. Spotlight также предлагает варианты для поиска на основе Вашего запроса; Вы можете просмотреть эти результаты в Spotlight или в интернете.

В списке результатов можно сделать следующее.

Предварительный просмотр. Нажмите клавишу Tab. В зависимости от типа выбранного результата над ним можно выполнить различные действия. Например, выберите приложение, чтобы отобразить список недавно открытых файлов, затем нажмите файл, чтобы его открыть. Или нажмите кнопку «Воспроизвести», чтобы прослушать песню. Или нажмите кнопку, чтобы приобрести приложение из App Store.

Просмотр результатов поиска предлагаемого запроса в Spotlight. Нажмите объект, перед которым отображается значок Spotlight .

Просмотр результатов поиска предлагаемого запроса в интернете. Нажмите объект, перед которым отображается значок Safari .

Открытие объекта: Дважды нажмите ее. Можно также выбрать объект и нажать клавишу Return.

Просмотр местоположения файла на Mac: Выберите файл, затем нажмите и удерживайте клавишу Command. Местоположение файла отображается внизу окна предварительного просмотра.

Копирование объекта: Перетяните файл на рабочий стол или в окно Finder.

Просмотр всех результатов на Вашем Mac в Finder: Выполните прокрутку до конца списка результатов, затем нажмите «Найти в Finder». Чтобы уточнить результаты в Finder, см. раздел Сужение результатов поиска.

Если включен режим покоя или Вы превысили лимит, заданный для приложений в настройках Экранного времени, значки приложений в результатах затемняются и отображается значок песочных часов

Выполнение вычислений и преобразований в Spotlight

Можно ввести математическое выражение, сумму в валюте, температуру или величину с единицами измерения в поле поиска Spotlight и получить результат преобразования или вычисления прямо в поле поиска.

Вычисления. Введите математическое выражение, например «956*23,94» или «2020/15».

Конвертация валют. Введите сумму в валюте, например «100 долларов США», «100 йен» или «300 крон в евро».

Преобразование температур. Введите температуру, например «98,8 фаренгейт», «32 цельсий» или «340 кельвинов в фаренгейты».

Преобразование единиц измерения. Введите величину, например «25 фунтов», «54 ярда», «23 стоуна» или «32 фута в метры».

Совет. Нажмите клавишу Tab, чтобы отобразить дополнительные преобразования в области просмотра.

Можно исключить из поиска Spotlight определенные папки, диски и типы информации (например, электронные письма или сообщения), задав соответствующие настройки. См. раздел Изменение настроек Spotlight.

Если Вы хотите, чтобы поиск Spotlight выполнялся только на компьютере Mac и не включал результаты из интернета, Вы можете отключить Предложения Siri для Spotlight.

Источник

Оцените статью