Macbook Air 1.3GHz Intel Core i5 8GB Memory DDR3 OSX Yosemite
This is because of the long name, I think:
Hans-Jorg Oestern, Otmar Lorenz Trentz, Lorem Ipsum Lorem Vascular Injuries- Trauma Surgery I (European Manual of Medicine).pdf
I search unsuccessfully
- Hans
- Hans-Jorg
- Hans pdf
- Hans-Jorg pdf
No matches at all. If I make the name shorter, there is a match. It seems that the file is not indexed so the search is not working.
I run the command mdls [filename]
and get
kMDItemAuthors = (
"Hans-Jo\U0308rg Oestern, Otmar"
)
kMDItemContentCreationDate = 2015-02-11 09:37:18 +0000
kMDItemContentModificationDate = 2015-02-18 07:29:29 +0000
kMDItemContentType = "com.adobe.pdf"
kMDItemContentTypeTree = (
"com.adobe.pdf",
"public.data",
"public.item",
"public.composite-content",
"public.content"
)
kMDItemDateAdded = 2015-03-23 05:34:10 +0000
kMDItemDescription = "ISBN-13: 978-3540123123"
kMDItemDisplayName = "Hans-Jorg Oestern, Otmar Lorenz Trentz, Lorem Ipsum Lorem Vascular Injuries- Trauma Surgery I (European Manual of Medicine).pdf"
kMDItemEncodingApplications = (
"Mac OS X 10.10.2 Quartz PDFContext"
)
kMDItemFSContentChangeDate = 2015-02-18 07:29:29 +0000
kMDItemFSCreationDate = 2015-02-11 09:37:18 +0000
kMDItemFSCreatorCode = ""
kMDItemFSFinderFlags = 0
kMDItemFSHasCustomIcon = (null)
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 0
kMDItemFSIsStationery = (null)
kMDItemFSLabel = 0
kMDItemFSName = "Hans-Jorg Oestern, Otmar Lorenz Trentz, Lorem Ipsum Lorem Vascular Injuries- Trauma Surgery I (European Manual of Medicine).pdf"
kMDItemFSNodeCount = (null)
kMDItemFSOwnerGroupID = 20
kMDItemFSOwnerUserID = 501
kMDItemFSSize = 65898547
kMDItemFSTypeCode = ""
kMDItemKeywords = (
"ISBN-10: 3540881212"
)
kMDItemKind = "Portable Document Format (PDF)"
kMDItemLogicalSize = 65898547
kMDItemNumberOfPages = 435
kMDItemPageHeight = 747.84
kMDItemPageWidth = 547.68
kMDItemPhysicalSize = 65900544
kMDItemSecurityMethod = "None"
kMDItemTitle = "Hans-Jorg Oestern, Otmar Lorenz Trentz, Lorem Ipsum Lorem Vascular Injuries- Trauma Surgery I"
kMDItemVersion = "1.3"
kMDItemWhereFroms = (
"file:///Users/masi/Downloads/Lorem.pdf",
""
)
Time dependency for indexing
I run the same search as above during
- time when asked this question
- 2 weeks after asked this question
and the search did not work.
I run the same search as above about 50 days later and the search works for the file. This proposes me that something is wrong in indexing, since same location of the file.
Some Possible Factors of causing the Bug
- Quartz engine used to construct the file
Other systems where bug reproduced
- some iMac (see grgarside's answer below)
How can you force indexing of such files and make faster search?
Show all in Finder
at the bottom of the spotlight pane. Also is pdf moved to the top entries in the spotlight preferences.