V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
qw7692336
V2EX  ›  问与答

Google 搜代码的时候,经常被忽略特殊符号,有什么解决办法吗?

  •  
  •   qw7692336 · 2016-01-30 18:58:49 +08:00 · 1883 次点击
    这是一个创建于 3010 天前的主题,其中的信息可能已经有所发展或是发生改变。

    如搜索"[["搜不到任何资料

    4 条回复    2016-01-30 20:55:41 +08:00
    TaoAlpha
        1
    TaoAlpha  
       2016-01-30 20:22:05 +08:00   ❤️ 2
    这是搜索引擎自身的处理, 会自动忽略标点符号以及一些特殊字符, 有些是为了避免和自身的特殊操作符冲突的. 你可以看下 google 的 search operators:

    Even though you can use the punctuation marks below when you search, including them doesn ’ t always improve the results. If we don't think the punctuation will give you better results, you'll see suggested results for that search without punctuation.

    https://support.google.com/websearch/answer/2466433?p=adv_operators&hl=en&rd=1

    symbolhound 是一个专门搜索特殊字符的搜索引擎, 比如你的"[[" 这里就可以搜索出一些结果. 当然, 效果的话, 就不好说了. http://symbolhound.com/
    Andy1999
        2
    Andy1999  
       2016-01-30 20:24:17 +08:00 via iPhone
    用百度可以搜到
    TaoAlpha
        3
    TaoAlpha  
       2016-01-30 20:25:01 +08:00   ❤️ 1
    果然在 stackoverflow 上有人问过这个类似问题, 请参考: http://stackoverflow.com/questions/4685615/how-can-i-use-a-search-engine-to-search-for-special-characters
    snnn
        4
    snnn  
       2016-01-30 20:55:41 +08:00
    没有意义。这些字符出现的频率太高,所以搜索引擎没有办法用它们做排序。大概相当于你给 10000 加上 0.1 或者 0.2 或者什么都不加,没有区别。

    至于说拿 XXX 引擎可以搜到,那只是一些 trick 。比如,搜索以及排序的时候不考虑这个字符,在呈现结果的时候,发现有这个字符就加粗或加红。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2736 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 15:23 · PVG 23:23 · LAX 08:23 · JFK 11:23
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.