分页: 1 / 1

如何在谷歌搜索中同时使用多个语法?

发表于 : 2016-04-30 22:06
科学之子
如何在谷歌搜索中同时使用多个语法?

代码: 全选

zswap allinurl: changelogs site:debian.org
但搜不到任何内容
是我语法问题,还是真的搜不到?
如下关键词搜索,居然url里面没有"changelogs"?

代码: 全选

linux allinurl: changelogs site:debian.org

Re: 如何在谷歌搜索中同时使用多个语法?

发表于 : 2016-04-30 22:23
vickycq
以 'allin' 开头的 operator 不能与其它 operator 组合
There are about a dozen search operators that can’t be combined with any other. If you do, Google probably won’t return any matching documents. Search operators that shouldn’t be mixed include:
All the search operators whose names begin with “allin,” e.g., allinanchor:, allintext:, allintitle:, and allinurl:.
参考 http://www.googleguide.com/using_advanc ... ators.html

Re: 如何在谷歌搜索中同时使用多个语法?

发表于 : 2016-04-30 22:31
vickycq
而且为何用 allinurl 不用 inurl?区别很明显:
If you start your query with allinurl:, Google restricts results to those containing all the query terms you specify in the URL
If you include inurl: in your query, Google will restrict the results to documents containing that word in the URL
用 zswap inurl:debian 或 zswap site:*.debian.org 就有很多相关结果

Re: 如何在谷歌搜索中同时使用多个语法?

发表于 : 2016-04-30 22:36
vickycq
而且用 site:debian.org 会把 诸如 lists.debian.org 一类的域名排除在外?
大多数 changelog 在 packages.debian.org
可用 site:*.debian.org 匹配

而且冒号后面最好不要有空格

终于搜到了:

代码: 全选

zswap inurl:changelog site:*.debian.org

Re: 如何在谷歌搜索中同时使用多个语法?

发表于 : 2016-05-01 0:43
科学之子
vickycq 写了:而且为何用 allinurl 不用 inurl?区别很明显:
If you start your query with allinurl:, Google restricts results to those containing all the query terms you specify in the URL
If you include inurl: in your query, Google will restrict the results to documents containing that word in the URL
用 zswap inurl:debian 或 zswap site:*.debian.org 就有很多相关结果
因为我是用谷歌的"高级搜索"页面去点菜单生成的检索式 :em03