In System/Library/spotlight there are several files like " Application.mdimporter " which seems they appropriate searching for spotlight. Can I add any file like them? Is there any way to make files like them? Can I find files of this kind produced with developers?
Add a mdimporter file to have new option search in spotlight
developer-programspotlight
Related Question
- Spotlight does not find file
- MacOS – Add Spotlight Comments without tags on OS X Mavericks
- Spotlight doesn’t find the contents of at least one file
- Why doesn’t OS X Spotlight search inside .json files
- Excluding specific file names and types (not categories, not folders) from Spotlight
- MacOS – How to get spotlight to search everywhere for any file
- How to display full path to file in spotlight search
Best Answer
Yes, you can create your own Spotlight importers.
You can find Apple's documentation here.
The importers don't need to sit in
/System/Library/Spotlight
that is intended solely for importers that come with the operating system. What usually happens is an application developer will create an importer to support their file formats and include the importer within the application bundle. So, for example, the importers for Pages file formats sit within the Pages app bundle. But you can also drop importers in~/Library/Spotlight
within your own user profile and OSX will find them there.