Alfred doesn't find any files such as pdf, jpgs whereas Spotlight does. (If it matters, Alfred does list all other things such as applications, system prefs, etc)
I have already troubleshooting file indexing and that seems to be okay:
Starting Diagnostics...
File: 'Networking and Kubernetes_ A Layered Approach.pdf'
Path: '/Users/sanskarjaiswal/Downloads'
-----------------------------------------------------------
Check file cache database...
✅ File cache integrity is ok
-----------------------------------------------------------
Check if file is readable...
✅ Alfred has permissions to read this file.
-----------------------------------------------------------
Check if volume '/' is indexed by macOS...
✅ Indexing is enabled on this drive
-----------------------------------------------------------
Check direct file metadata...
✅ Direct metadata available
Display Name: Networking and Kubernetes_ A Layered Approach.pdf
Other Names:
Content Type: com.adobe.pdf
Last Used: 2022-01-17 17:57:01 +0000
-----------------------------------------------------------
Check mdls file metadata...
✅ Metadata contains required items
_kMDItemDisplayNameWithExtensions = "Networking and Kubernetes_ A Layered Approach.pdf"
_kMDItemEngagementData = {length = 11, bytes = 0x090000008074cac3410001}
kMDItemAuthors = (
"James Strong"
)
kMDItemContentCreationDate = 2021-11-17 13:50:58 +0000
kMDItemContentCreationDate_Ranking = 2021-11-17 00:00:00 +0000
kMDItemContentModificationDate = 2021-11-17 13:51:00 +0000
kMDItemContentModificationDate_Ranking = 2021-11-17 00:00:00 +0000
kMDItemContentType = "com.adobe.pdf"
kMDItemContentTypeTree = (
"com.adobe.pdf",
"public.data",
"public.item",
"public.composite-content",
"public.content"
)
kMDItemCreator = "calibre 3.48.0 [https://calibre-ebook.com]"
kMDItemDateAdded = 2022-01-17 05:33:18 +0000
kMDItemDateAdded_Ranking = 2022-01-17 00:00:00 +0000
kMDItemDescription = "<span><div><p>Kubernetes has become an essential part of the daily work for most system, network, and cluster administrators today. But to work effectively together on a production-scale Kubernetes system, they must be able to speak the same language. This book provides a clear guide to the layers of complexity and abstraction that come with running a Kubernetes network.</p><p>Authors James Strong and Vallery Lancey bring you up to speed on the intricacies that Kubernetes has to offer for large container deployments. If you're to be effective in troubleshooting and maintaining a production cluster, you need to be well versed in the abstraction provided at each layer. This practical book shows you how.</p><ul><li>Learn the Kubernetes networking model</li><li>Choose the best interface for your clusters from the CNCF Container Network Interface project</li><li>Explore the networking and Linux primitives that power Kubernetes</li><li>Quickly troubleshoot networking issues and prevent downtime</li><li>Examine cloud networking and Kubernetes using the three major providers: Amazon Web Services, Google Cloud, and Microsoft Azure</li><li>Learn the pros and cons of various network tools--and how to select the best ones for your stack</li></ul></div></span>"
kMDItemDisplayName = "Networking and Kubernetes_ A Layered Approach.pdf"
kMDItemDocumentIdentifier = 0
kMDItemDownloadedDate = (
"2021-11-17 13:51:00 +0000"
)
kMDItemEncodingApplications = (
"calibre 3.48.0 [https://calibre-ebook.com]"
)
kMDItemFSContentChangeDate = 2021-11-17 13:51:00 +0000
kMDItemFSCreationDate = 2021-11-17 13:50:58 +0000
kMDItemFSCreatorCode = ""
kMDItemFSFinderFlags = 0
kMDItemFSHasCustomIcon = (null)
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 0
kMDItemFSIsStationery = (null)
kMDItemFSLabel = 0
kMDItemFSName = "Networking and Kubernetes_ A Layered Approach.pdf"
kMDItemFSNodeCount = (null)
kMDItemFSOwnerGroupID = 20
kMDItemFSOwnerUserID = 501
kMDItemFSSize = 19327434
kMDItemFSTypeCode = ""
kMDItemInterestingDate_Ranking = 2022-01-17 00:00:00 +0000
kMDItemKind = "PDF document"
kMDItemLastUsedDate = 2022-01-17 17:57:01 +0000
kMDItemLastUsedDate_Ranking = 2022-01-17 00:00:00 +0000
kMDItemLogicalSize = 19327434
kMDItemNumberOfPages = 458
kMDItemPageHeight = 661.6063
kMDItemPageWidth = 504
kMDItemPhysicalSize = 19329024
kMDItemSecurityMethod = "None"
kMDItemTitle = "Networking and Kubernetes"
kMDItemUseCount = 8
kMDItemUsedDates = (
"2022-01-14 08:00:00 +0000",
"2022-01-16 18:30:00 +0000"
)
kMDItemVersion = "1.4"
kMDItemWhereFroms = (
"https://doc-0o-68-docs.googleusercontent.com/docs/securesc/5re0dc0m4a23ojlj3dk30ttfomqh32hg/hm9t6hnoq2fnk9g84cadl9v9d071nq5h/1637157000000/10412759115358138176/03274059413059558201/1-l6DtBeBgzFnGvhY7HiWsHFdHNzrficU?e=download&authuser=0&nonce=34k0vescfu8lc&user=03274059413059558201&hash=7g9kk6q3evtokkf9cb8a4jbj4pmedrt9",
"https://drive.google.com/"
)
-----------------------------------------------------------
Check file is in search scope...
✅ File exists within Alfred's default search scope
-----------------------------------------------------------
✅ Troubleshooting passed
I have also rebuilt the metadata index and reloaded the application cache, but that doesn't seem to help either.
Notably, the only file that does show up when I search for `.pdf` is the document that comes pre installed with macOS. Also, it only finds folders at the ~/ level (home directory).
Alfred Version: 4.6.1 [1274]
macOS Version: 12.1
Device: Macbook Pro 14-inch