直達簡單入門的 UI:
Google 高級搜索
谷歌搜索引擎高級搜索、命令大全表格總結 (完整示例說明) - EvanLi 的博客
搜索思路#
解決思路#
- 取詞
- 優化
- 反推
- 轉化轉換
語法#
常用語法:
搜索操作符 | 功能 | 示例 |
---|---|---|
" " | 搜索包含特定單詞或短語的結果。 | "steve jobs" |
OR | 搜索與 X 或 Y 相關的結果。 | jobs OR gates |
` | ` | 與OR 功能相同。 |
AND | 搜索與 X 和 Y 相關的結果。 | jobs AND gates |
- | 搜索不包含特定單詞或短語的結果。 | jobs -apple |
* | 通配符,匹配任何單詞或短語。 | steve * apple |
( ) | 分組多個搜索條件。 | (ipad OR iphone) apple |
define: | 搜索詞語或短語的定義。 | define |
cache: | 查找網頁的最新快取。 | cache.com |
filetype: | 搜索特定類型的文件(如 PDF)。 | apple filetype |
ext: | 與filetype: 功能相同。 | apple ext |
site: | 搜索特定網站的結果。 | site.com |
related: | 搜索與給定域相關的網站。 | related.com |
intitle: | 搜索標題標籤中包含特定單詞的頁面。 | intitle |
allintitle: | 搜索標題標籤中包含多個單詞的頁面。 | allintitle iphone |
inurl: | 搜索 URL 中包含特定單詞的頁面。 | inurl |
allinurl: | 搜索 URL 中包含多個單詞的頁面。 | allinurl iphone |
intext: | 搜索內容中包含特定單詞的頁面。 | intext iphone |
allintext: | 搜索內容中包含多個單詞的頁面。 | allintext iphone |
weather: | 搜索特定位置的天氣。 | weather francisco |
stocks: | 搜索股票信息。 | stocks |
map: | 強制谷歌顯示地圖結果。 | map valley |
movie: | 搜索關於電影的信息。 | movie jobs |
in | 將一個單位轉換為另一個單位。 | $329 in GBP |
source: | 從 Google News 中搜索特定來源的結果。 | apple source |
before: | 搜索特定日期之前的結果。 | apple before:2007-06-29 |
after: | 搜索特定日期之後的結果。 | apple after:2007-06-29 |
注:
- 冒號為英文冒號
- 冒號前沒有空格
- 命令前要用空格隔開,如
C++ filetype:pdf
,filetype 前面有空格
油猴腳本#
為了方便,我還搓了一個簡單的腳本:
Advanced Search Assistant for Google
以下為原始數據:#
序號 | 語法 | 語法說明 | 示例 | 示例說明 |
---|---|---|---|---|
1 | + | 同 AND,搜索包含多個關鍵詞的結果 | 搜索+ 引擎 | 搜索包含【搜索】和【引擎】兩個詞的頁面 |
2 | OR | 或者 | 搜索OR 引擎 | 搜索包含【搜索】或【引擎】兩個詞的頁面 |
3 | - | 減號,不包含減號後面詞的頁面 | 搜索引擎- 百度 | 搜索不包括【百度】的【搜索引擎】的頁面 |
4 | “” | 雙引號,精確匹配 | “搜索引擎” | 精確匹配【搜索引擎】這個關鍵詞的頁面 |
5 | * | 星號,通配符,模糊搜索,星號代替某個字 | 搜* 引擎 | 星號可以替代任何字 |
6 | @ | 在用於搜索社交媒體的字詞前加上@ | trump@ twitter | 搜索 trump 的 twitter |
7 | $ | 在數字前加上$ 搜索特定價格 | camera$ 400 | 搜索價格為 400$ 的 camera |
8 | # | 搜索# 標籤 | # throwbackthursday | 搜索標籤 throwbackthursday |
9 | .. | 兩個點,在兩個數字之間加上.. 執行數字範圍搜索 | camera 500.. 1000 | 搜索 500 到 1000 之間的 camera |
10 | filetype | 搜索某一種文件類型的資源 | C++filetype :pdf | 搜索類型為 pdf 的 C++ 網頁資源 |
11 | site | 在指定站點搜索 | C++site :https://www.zhihu.com | 在知乎中搜索和 C++ 相關的網頁 |
12 | cache | 查看網站的 Google 快取版本,顯示快取頁面 | cache .com | 查看微博的谷歌快照 |
13 | info | 在網址前加info: ,獲取網站詳情 | info: github.com | 搜索 github 網站詳情 |
14 | related | 搜索與某個網站有關聯的頁面 | related: sina.com | 搜索與新浪網站內容相似的其他網站 |
15 | link | 返回所有鏈接到某個 URL 地址的網頁 | link: www.csdn.net | 搜索所有含指向【www.csdn.net】鏈接的網頁 |
16 | inurl | 搜索查詢詞出現在 URL 中的頁面 | inurl: 搜索引擎 | 搜索鏈接 URL 中有【搜索引擎】的網頁 |
17 | intitle | 搜索查詢詞出現在頁面標題中的頁面,支持中英文 | intitle: 搜索引擎 | 搜索頁面標題中有【搜索引擎】的網頁 |
18 | intext | 搜索查詢詞出現在頁面正文中的頁面,支持中英文 | intext: SEO intext: 搜索引擎 | 在正文包含【搜索引擎】的網頁中搜索【SEO】 |
19 | inanchor | 搜索鏈接錨文字中包含搜索詞的頁面 | inanchor: 前端 | 搜索鏈接錨文字中包含【前端】的頁面 |
20 | allinurl | 頁面 URL 中包含多個關鍵詞的頁面 | allinurl: SEO 搜索引擎優化 | 相當於:inurl: SEO inurl: 搜索引擎優化 |
21 | allintitle | 頁面標題中包含多個關鍵詞的頁面 | allintitle: SEO 搜索引擎優化 | 相當於:intitle: SEO intitle: 搜索引擎優化 |
22 | allintext | 頁面正文中包含多個關鍵詞的頁面 | allintext: SEO 搜索引擎優化 | 相當於:intext: SEO intext: 搜索引擎優化 |
23 | allinanchor | 頁面鏈接錨文字包含多個關鍵詞的頁面 | allinanchor: SEO 搜索引擎優化 | 相當於:inanchor: SEO inanchor: 搜索引擎優化 |
24 | weather | weather/time/sunrise/sundown + 城市名,返回城市的天氣 / 時間 / 日出時間 / 日落時間 | weather: beijing | 顯示北京的天氣 |
25 | music | 或者用songs ,歌手名字 +music/songs | 周杰倫music | 返回周杰倫的各首歌曲 |
26 | imagesize | 限定圖片尺寸 —(在谷歌圖片上搜索) | imagesize:2560x1440 |
有效搜索操作符#
搜索操作符 | 功能 | 示例 |
---|---|---|
" " | 搜索包含特定單詞或短語的結果。 | "steve jobs" |
OR | 搜索與 X 或 Y 相關的結果。 | jobs OR gates |
` | ` | 與OR 功能相同。 |
AND | 搜索與 X 和 Y 相關的結果。 | jobs AND gates |
- | 搜索不包含特定單詞或短語的結果。 | jobs -apple |
* | 通配符,匹配任何單詞或短語。 | steve * apple |
( ) | 分組多個搜索條件。 | (ipad OR iphone) apple |
define: | 搜索詞語或短語的定義。 | define |
cache: | 查找網頁的最新快取。 | cache.com |
filetype: | 搜索特定類型的文件(如 PDF)。 | apple filetype |
ext: | 與filetype: 功能相同。 | apple ext |
site: | 搜索特定網站的結果。 | site.com |
related: | 搜索與給定域相關的網站。 | related.com |
intitle: | 搜索標題標籤中包含特定單詞的頁面。 | intitle |
allintitle: | 搜索標題標籤中包含多個單詞的頁面。 | allintitle iphone |
inurl: | 搜索 URL 中包含特定單詞的頁面。 | inurl |
allinurl: | 搜索 URL 中包含多個單詞的頁面。 | allinurl iphone |
intext: | 搜索內容中包含特定單詞的頁面。 | intext iphone |
allintext: | 搜索內容中包含多個單詞的頁面。 | allintext iphone |
weather: | 搜索特定位置的天氣。 | weather francisco |
stocks: | 搜索股票信息。 | stocks |
map: | 強制谷歌顯示地圖結果。 | map valley |
movie: | 搜索關於電影的信息。 | movie jobs |
in | 將一個單位轉換為另一個單位。 | $329 in GBP |
source: | 從 Google News 中搜索特定來源的結果。 | apple source |
before: | 搜索特定日期之前的結果。 | apple before:2007-06-29 |
after: | 搜索特定日期之後的結果。 | apple after:2007-06-29 |
不穩定的搜索操作符#
搜索操作符 | 功能 | 示例 |
---|---|---|
#..# | 在一系列數字範圍內搜索。 | iphone case $50..$60 |
inanchor: | 搜索包含特定錨文本的後向鏈接的頁面。 | inanchor |
allinanchor: | 搜索包含多個詞語的錨文本的後向鏈接的頁面。 | allinanchor iphone |
AROUND(X) | 搜索在 X 個詞之間出現的兩個詞或短語的頁面。 | apple AROUND(4) iphone |
loc: | 查找特定地區的結果。 | loc:"san francisco" apple |
location: | 在 Google News 中查找特定位置的新聞。 | location:"san francisco" apple |
daterange: | 搜索特定日期範圍的結果。 | daterange:11278-13278 |
不再有效的搜索操作符(棄用)#
以下搜索操作符不再有效,已被 Google 放棄:
搜索操作符 | 功能 | 示例 |
---|---|---|
#..# | 在一系列數字範圍內搜索。 | iphone case $50..$60 |
inanchor: | 搜索包含特定錨文本的後向鏈接的頁面。 | inanchor |
allinanchor: | 搜索包含多個詞語的錨文本的後向鏈接的頁面。 | allinanchor iphone |
AROUND(X) | 搜索在 X 個詞之間出現的兩個詞或短語的頁面。 | apple AROUND(4) iphone |
loc: | 查找特定地區的結果。 | loc:"san francisco" apple |
location: | 在 Google News 中查找特定位置的新聞。 | location:"san francisco" apple |
daterange: | 搜索特定日期範圍的結果。 | daterange:11278-13278 |