V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
loading
V2EX  ›  macOS

Alfred不搜索应用程序

  •  
  •   loading · 2012-08-01 10:49:04 +08:00 · 4757 次点击
    这是一个创建于 4291 天前的主题,其中的信息可能已经有所发展或是发生改变。
    今天突然就搜索不到应用程序了,试过卸载重装了,只显示使用google搜索这些选项,搜索应用程序应该是默认开启的啊,试过清除cache还rebuild index还是不行!
    4 条回复    2020-05-06 12:29:16 +08:00
    lfeng
        1
    lfeng  
       2012-08-02 09:23:40 +08:00   ❤️ 1
    你的Spotlight没关吧?貌似Alfred使用他的索引的
    loading
        2
    loading  
    OP
       2012-08-02 10:15:22 +08:00
    @lfeng 没关,我用spotlight搜索"adobe"能搜到ps和fw这些,而alfred只提示我用google
    loading
        3
    loading  
    OP
       2012-08-02 10:28:35 +08:00
    好了,解决了。
    首先感谢
    @lfeng 提醒!

    我的spotlight可以搜索,使用“sudo mdutil -i on /”重建index时候出现了"Indexing and searching disabled.",这个应该在Alfred里面Rebuild index时也出现了,以为正常没注意。。。

    使用“sudo mdutil -pEsav”,命令,出现各种disable.

    在根目录发现有命名为“.metadata_never_index”的文件,立即"sudo rm .metadata_never_index"

    然后“sudo mdutil -i on /”,问题解决。果然还是索引问题。


    参考:
    http://apple.stackexchange.com/questions/24401/spotlight-reports-indexing-and-searching-disabled-in-lion
    itchihuo
        4
    itchihuo  
       2020-05-06 12:29:16 +08:00
    @loading 好用,感谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1144 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 17:43 · PVG 01:43 · LAX 10:43 · JFK 13:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.