I was using inside files search to search for a markdown file and found something peculiar.
The files I was searching for has phrases like "百万医疗险" and "保险" in it, and I could search for "百万" or "百万医疗" or "保险" and found the file.
Yet once I searched for "百万医疗险" (with the keyword "in 百万医疗险"), the file could no longer be found.
I checked with spotlight and the search worked just fine.
The troubleshooting diagnostics is pasted below as is.
----
Starting Diagnostics...
File: '2024-06-03 1119.md'
Path: '/Users/bytedance/Library/Mobile Documents/iCloud~md~obsidian/Documents/Personal Vault/时间戳笔记/2024'
-----------------------------------------------------------
Check file cache database...
✅ File cache integrity is ok
-----------------------------------------------------------
Check if file is readable...
✅ Alfred has permissions to read this file.
Unix Permissions: 420
Underlying Type: NSFileTypeRegular
Extended Attributes: (
"com.apple.lastuseddate#PS",
"com.apple.quarantine"
)
-----------------------------------------------------------
Check if volume '/' is indexed by macOS...
✅ Indexing is enabled on this drive
-----------------------------------------------------------
Check direct file metadata...
✅ Direct metadata available
Display Name: 2024-06-03 1119.md
Other Names:
Content Type: net.daringfireball.markdown
Last Used: 2024-06-03 03:23:07 +0000
-----------------------------------------------------------
Check mdls file metadata...
✅ Metadata contains required items
_kMDItemDisplayNameWithExtensions = "2024-06-03 1119.md"
kMDItemContentCreationDate = 2024-06-03 03:19:10 +0000
kMDItemContentCreationDate_Ranking = 2024-06-03 00:00:00 +0000
kMDItemContentModificationDate = 2024-06-03 03:20:02 +0000
kMDItemContentType = "net.daringfireball.markdown"
kMDItemContentTypeTree = (
"net.daringfireball.markdown",
"public.plain-text",
"public.text",
"public.data",
"public.item",
"public.content"
)
kMDItemDateAdded = 2024-06-03 03:19:10 +0000
kMDItemDisplayName = "2024-06-03 1119.md"
kMDItemDocumentIdentifier = 191033
kMDItemFSContentChangeDate = 2024-06-03 03:20:02 +0000
kMDItemFSCreationDate = 2024-06-03 03:19:10 +0000
kMDItemFSCreatorCode = ""
kMDItemFSFinderFlags = 0
kMDItemFSHasCustomIcon = (null)
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 0
kMDItemFSIsStationery = (null)
kMDItemFSLabel = 0
kMDItemFSName = "2024-06-03 1119.md"
kMDItemFSNodeCount = (null)
kMDItemFSOwnerGroupID = 20
kMDItemFSOwnerUserID = 501
kMDItemFSSize = 83
kMDItemFSTypeCode = ""
kMDItemInterestingDate_Ranking = 2024-06-03 00:00:00 +0000
kMDItemKind = "Markdown"
kMDItemLastUsedDate = 2024-06-03 03:23:07 +0000
kMDItemLastUsedDate_Ranking = 2024-06-03 00:00:00 +0000
kMDItemLogicalSize = 83
kMDItemPhysicalSize = 4096
kMDItemUseCount = 5
kMDItemUsedDates = (
"2024-06-02 16:00:00 +0000"
)
-----------------------------------------------------------
Check file is in search scope...
✅ File exists within Alfred's default search scope
-----------------------------------------------------------
Check MDQuery file search...
✅ macOS returned a match for this file in your search scope.
File Search Results for search scope (
"[0] /System/Volumes/Data/Users/bytedance/Library/Mobile Documents/iCloud~md~obsidian/Documents/Personal Vault/\U65f6\U95f4\U6233\U7b14\U8bb0/2024/2024-06-03 1119.md"
)
File Search Results for ~/ (
"[0] /System/Volumes/Data/Users/bytedance/Library/Mobile Documents/iCloud~md~obsidian/Documents/Personal Vault/\U65f6\U95f4\U6233\U7b14\U8bb0/2024/2024-06-03 1119.md"
)
File Search Results for / (
"[0] /System/Volumes/Data/Users/bytedance/Library/Mobile Documents/iCloud~md~obsidian/Documents/Personal Vault/\U65f6\U95f4\U6233\U7b14\U8bb0/2024/2024-06-03 1119.md"
)
-----------------------------------------------------------
✅ Troubleshooting passed