{"id":2377,"date":"2026-11-25T17:38:20","date_gmt":"2026-11-25T15:38:20","guid":{"rendered":"https:\/\/cln.io\/blog\/?p=2377"},"modified":"2026-11-25T17:38:21","modified_gmt":"2026-11-25T15:38:21","slug":"apple-notes-search-broken-after-migration-assistant-force-reindex","status":"publish","type":"post","link":"https:\/\/cln.io\/blog\/apple-notes-search-broken-after-migration-assistant-force-reindex\/","title":{"rendered":"Apple Notes search broken after Migration Assistant? force a reindex"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Apple Notes search finds (almost) nothing after moving to a new Mac with Migration Assistant. The notes are all still there, the search index just never got rebuilt. Force a reindex:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">osascript -e 'tell application \"Notes\" to quit'\npkill -f com.apple.Notes.SpotlightIndexExtension\ncd ~\/Library\/Group\\ Containers\/group.com.apple.notes\nmkdir -p ~\/notes-indexstate-backup\ncp -p NotesIndexerState-Modern NotesIndexerState-HTML HTML.index-progress ~\/notes-indexstate-backup\/\nplutil -replace NeedsReindexing -bool true NotesIndexerState-Modern\nplutil -replace NeedsReindexing -bool true NotesIndexerState-HTML\nopen -a Notes<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Notes reindexes everything on launch, takes about a minute. Done when this shows <code>\"NeedsReindexing\" =&gt; false<\/code> and an empty <code>ObjectIDURIs<\/code> list again:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">plutil -p ~\/Library\/Group\\ Containers\/group.com.apple.notes\/NotesIndexerState-Modern<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Your terminal needs Full Disk Access (System Settings &gt; Privacy &amp; Security).<\/li>\n\n\n\n<li>Only touches the index state, not your notes.<\/li>\n\n\n\n<li>Tested on macOS 27.2.1.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-elements-1 wp-block-paragraph\" style=\"color:#9ca3af;font-size:14px\">This post was written with the help of Claude, Anthropic&#8217;s AI assistant.<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Apple Notes search finds almost nothing after moving to a new Mac with Migration Assistant. Flip NeedsReindexing in the Notes indexer state and relaunch.<\/p>\n","protected":false},"author":1,"featured_media":2376,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-2377","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-it"],"_links":{"self":[{"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/posts\/2377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/comments?post=2377"}],"version-history":[{"count":1,"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/posts\/2377\/revisions"}],"predecessor-version":[{"id":2378,"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/posts\/2377\/revisions\/2378"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/media\/2376"}],"wp:attachment":[{"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/media?parent=2377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/categories?post=2377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/tags?post=2377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}