--- title: 搜尋的智慧 author: Hsins tags: method, note --- ## 目錄 [toc] ## 如何有效地提出問題? - [提問的智慧](https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way) ## 如何有效地使用搜尋引擎? ### 完全匹配搜尋(使用雙引號 `""`) | `賽局理論與訊息經濟` | `"賽局理論與訊息經濟"` | | :--: | :--: | | ![](https://i.imgur.com/wW4WnCm.png) | ![](https://i.imgur.com/mIAdfic.png) | 如圖所示,當我搜尋內容使用 `賽局理論與訊息經濟` 時,搜尋引擎在搜尋時將會適當進行斷句進行搜索,搜尋結果共有 `74,400` 項結果,但搜尋結果的第三頁開始,便出現了較為模糊的搜尋。若要限定搜尋完整的「賽局理論與訊息經濟」時,在兩旁加上雙引號即可: <center><pre>"賽局理論與訊息經濟"</pre></center> ### 不包含搜尋(使用減號 `-`) | `百年孤寂` | `百年孤寂 -博客來 -書店` | | :--: | :--: | | ![](https://i.imgur.com/aCtgmJw.png) | ![](https://i.imgur.com/CCXewzi.png) | 如圖所示,當我搜尋內容使用 `百年孤寂` 時,由於這是一本書,將會有許多網路書局販售該本書,因此會查找到很多不必要的網站。倘若我要搜尋百年孤寂,但不要存在關鍵字「書店」和「博客來」,則可以使用減號: <center><pre>百年孤寂 -博客來 -書店</pre></center> ### 標題搜尋(`intitle`) | `月落烏啼霜滿天` | `intitle:月落烏啼霜滿天` | | :--: | :--: | | ![](https://i.imgur.com/4rcBPIn.png) | ![](https://i.imgur.com/gwsIyma.png) | 如圖所示,當我搜尋內容使用 `月落烏啼霜滿天` 時,搜尋結果第二個是維基百科。倘若我要找的是網站頁面標題為指定關鍵字時,可以使用 `intitle:` 語句: <center><pre>intitle:月落烏啼霜滿天</pre></center> ### 網址搜尋(`inurl`)、網域搜尋(`site`) | `月落烏啼霜滿天` | `site:ptt.cc 月落烏啼霜滿天` | | :--: | :--: | | ![](https://i.imgur.com/4rcBPIn.png) | ![](https://i.imgur.com/QELOs17.png) | 如圖所示,當我搜尋內容使用 `月落烏啼霜滿天` 時,來源可能十分的多。倘若我只要在指定的網域下搜尋,則可以使用 `site:` 或 `inurl:` 語句,兩者有些許上的差別: - `inurl`:搜尋結果的網址中含有指定文字 - `site`:在指定網域下進行搜尋 <center><pre>site:ptt.cc 月落烏啼霜滿天</pre></center> ### 檔案搜尋(`filetype`) | `数据结构与算法分析` | `filetype:pdf 数据结构与算法分析` | | :--: | :--: | | ![](https://i.imgur.com/tnzBzT0.png) | ![](https://i.imgur.com/kswxrES.png) | 如果我要搜尋指定檔案格式的網路資源,可以使用 `filetype:` 語句: <center><pre>filetype:pdf 数据结构与算法分析</pre></center> ### 其他搜索 - 有些功能無法實現是因為 Google 搜索引擎會以當地地區為準,可以在[搜尋設定](https://www.google.com.tw/preferences)中改為美國。 #### 查詢天氣 ![](https://i.imgur.com/3csP2fF.png) <center><pre>weather taipei</pre></center> #### 查詢時間 ![](https://i.imgur.com/bpBxaEn.png) <center><pre>time tokyo</pre></center> #### 匯率轉換 ![](https://i.imgur.com/xWjIdb5.png) <center><pre>1 usd in twd</pre></center> #### 位置查詢 ![](https://i.imgur.com/lEDGOXB.png) <center><pre>what's my location</pre></center> - 位置將會根據 GPS 或是電腦 IP 進行定位 #### 繪製圖形 ![](https://i.imgur.com/5EyBaXi.png) <center><pre>graph for x^2+(y-x^(2/3))^2</pre></center> #### 字源演變 ![](https://i.imgur.com/BsRiYBm.png) <center><pre>coffee etymology</pre></center> ## 參考資料 - [知乎 | 如何用好谷歌等搜索引擎?](https://www.zhihu.com/question/20161362/answer/14180620) - [善用 Google:從入門到精通](http://www.ecaa.ntu.edu.tw/weifang/cea/%E5%96%84%E7%94%A8GOOGLE.htm) - [14 Tips to Google Like a Pro | DEV.to](https://dev.to/ruphaa/14-tips-to-google-like-a-pro-14jo) <!-- Widgets: License --> {%hackmd @Hsins/widget-license %} <!-- Widgets: LikeCoin --> {%hackmd @Hsins/widget-likecoin %}