Spotlight on Mac OS X is a fast desktop search technology that allows users to organize and search for files based on metadata. Spotlight is extensible, allowing developers to provide metadata importers for their application’s documents.
Questions tagged [spotlight]
259 questions
0
votes
2 answers
Xcode replacing setting and spotlight icons
How do you replace the spotlight and setting icons on my app in xcode? When I install the app on my iPhone it still shows the default Cordova icons. I'm able to replace the launcher icons and splash screens but can't seem to figure out the other 2.…

Automator21
- 647
- 2
- 7
- 11
0
votes
1 answer
Can we set a priority for our application in spotlight search results?
I have an application developed and installed on my iphone. When I am searching with some letters of my application name, under search results my application is coming along with other results which matches the search term. Now I want to get my…

Chakravarthy
- 91
- 1
- 4
0
votes
3 answers
Quest Spotlight oci.dll
My Quest Spotlight Trial does not connect to DB. When I run the user wizard it always comes:
Cannot load OCI DLL: oci.dll
It is a 64-bit Windows Server / 64 bit Oracle server.
I've already installed the 32 bit Oracle client and added the dict to…

Ludwig Meier
- 277
- 1
- 4
- 12
0
votes
3 answers
Determine local drive from MDItemRef
When I receive a list of MDItemRef items returned from a Spotlight query (in obj-c) I was wondering if there is an easy way to determine if they come from the OS install drive vs. an externally connected USB drive.
The basic premise is that I want…

Dave Martorana
- 1,321
- 13
- 21
0
votes
3 answers
Strip metadata from files in Snow Leopard
I found the command "mdls" which will show the metadata but I can't see how to delete it.
I want to get rid of the comments "kMDItemFinderComment", "kMDItemWhereFroms" from my files.
Is there a way to do this?

Mint
- 14,388
- 30
- 76
- 108
0
votes
1 answer
Where has the command "mdcheckschema" been moved to in 10.8.2?
I'm working on a custom document mdimporter and trying to validate my schema.xml file. In the apple documentation they say to use "usr/bin/mdcheckschema" followed by the path to the file. It should return whether or not it was parsed successfully,…

Corey W.
- 319
- 3
- 9
0
votes
1 answer
Spotlight NSMetaDataQuery with invisible items do not auto update
The original search runs fine, but any changes to invisible items go unnoticed by the query.
The query can be ran again and it will find the updates.
The query is non-nil and spotlight notifications have not been unsubscribed.
Is this a bug or…

Corey Floyd
- 25,929
- 31
- 126
- 154
0
votes
2 answers
NSPredicate(s) for NSMetadataQuery to match kMDItemAccessedDates (array) containing a target date?
UPDATE: I found an answer though there may still be a better way - see the answer added below.
a spotlight importer imports metadata that is an array of dates in which an item was accessed. Looks like this:
kMDItemAccessedDates = (
…

Dad
- 6,388
- 2
- 28
- 34
0
votes
1 answer
Occasional mdworker crash with new custom importer for some files
My Spotlight importer is importing meta-data from a couple hundred of my app's document files.
All is working fine under the Xcode debugger with various files. However, the mdworker process crashes twice for the 300+ files when running the importer…

Jay
- 6,572
- 3
- 37
- 65
0
votes
2 answers
Spotlight and QuickLook integration
I wrote an app which document type is a bundle. This bundle contains 5 internal files, one of them is a HTML with the document "itself". I would like to make my app Spotlight and Quick Look enabled. Is there an easy way to tell the application "for…

Hans Fledermaus
- 241
- 1
- 3
- 9
0
votes
2 answers
Spotlight and Alfred can't find my file, how do I fix that?
I have a MacBook Pro with 10.7.4, my Spotlight isn't working and I downloaded Alfred,
and it still doesn't work? I have tried reindexing Spotlight but it still doesn't work?
I think there is a file for spotlight that have been deleted but I might…

Help me
- 39
- 1
- 6
-1
votes
0 answers
Find some text inside a document with Spotlight
I am very puzzled with the results returns by Spotlight on macOS Ventura 13.5.1. I am trying to find all text and pdf files containing a sentence "in our house". It turns out that Spotlight does not lists files that contain this sentence and for…

InsideLoop
- 6,063
- 2
- 28
- 55
-1
votes
1 answer
How can I access spotlight search on Macos from custom program?
can I somehow access spotlight search results from custom program?
User can install app to any location.
I want to find such installed app's path. I can find through "/", but that rather takes some time. On the other hand spotlite search seems to…

Kapitan
- 73
- 8
-1
votes
1 answer
Spotlight effect with css, html, javascript
I've designed a spotlight effect with css, html and java. This is the link to the page: https://civitonia.com/
The spotlight follows the cursor, but as you can see, when you refresh the page or when you open it, the spotlight is not center on the…

Emanuele Pesa
- 73
- 6
-1
votes
1 answer
Search in MacMail
I am running OS X 10.11.6 and MacMail 9.3 can not search my emails.
I 'rebuilt' my mailboxes and rebuilt my SpotLight indexes.
MacMail always reports 'Zero matches for search'.
Spotlight is saving in 'Store-V2', while the 'Envelope' indexes are in…

dbl001
- 2,259
- 8
- 39
- 53