Google搜尋:修訂版本之間的差異

出自福留子孫
跳轉到: 導覽搜尋
主要參數
指示字
第 7 行: 第 7 行:
 
* <code>*</code> – 萬用字元用以代表任何字,如''"type * blood"''.
 
* <code>*</code> – 萬用字元用以代表任何字,如''"type * blood"''.
 
* <code>..</code> - 範圍參數,如''"$50..$100"''.
 
* <code>..</code> - 範圍參數,如''"$50..$100"''.
====指示字====
+
====搜尋範圍指示字====
Some of the query options are as follows:
+
* <code>define:</code> – 提供字詞定義
* <code>define:</code> – The query prefix "define:" will provide a definition<ref name=GH/> of the words listed after it.
+
* <code>stocks:</code> –之後的內容視為股票行情符號
* <code>stocks:</code> – After "stocks:" the query terms are treated as stock ticker symbols<ref name=GH/> for lookup.
+
* <code>site:</code> – 只在特定域名下找,如:<code>site:www.acmeacme.com</code>。參數"site:com"將找域名中含".com"的網站("site:"後無空白).
* <code>site:</code> – Restrict the results to those websites in the given domain,<ref name=GH/> such as, <code>site:www.acmeacme.com</code>. The option "site:com" will search all domain URLs named with ".com" (no space after "site:").
+
 
* <code>intext:</code> – Prefix to search in a webpage text, such as "intext:google search" will list pages with word "google" in the text of the page, and word "search" anywhere (no space after "intext:").
 
* <code>intext:</code> – Prefix to search in a webpage text, such as "intext:google search" will list pages with word "google" in the text of the page, and word "search" anywhere (no space after "intext:").
* <code>allintitle:</code> – Only the page titles are searched<ref name=GH/> (not the remaining text on each webpage).
+
* <code>allintitle:</code> – 只對頁面標題進行搜索(而找標題以外的網頁上其餘文本)
* <code>intitle:</code> – Prefix to search in a webpage title,<ref name=GH/> such as "intitle:google search" will list pages with word "google" in title, and word "search" anywhere (no space after "intitle:").
+
* <code>intitle:</code> – Prefix to search in a webpage title, such as "intitle:google search" will list pages with word "google" in title, and word "search" anywhere (no space after "intitle:").
* <code>allinurl:</code> – Only the page URL address lines are searched<ref name=GH/> (not the text inside each webpage).
+
* <code>allinurl:</code> – 只搜 URL (不搜網頁內文).
* <code>inurl:</code> – Prefix for each word to be found in the URL;<ref name=GH/> others words are matched anywhere, such as "inurl:acme search" matches "acme" in a URL, but matches "search" anywhere (no space after "inurl:").
+
* <code>inurl:</code> – Prefix for each word to be found in the URL; others words are matched anywhere, such as "inurl:acme search" matches "acme" in a URL, but matches "search" anywhere (no space after "inurl:").
  
The page-display options (or query types) are:
+
====搜尋結果指示字====
 
* <code>cache:</code> – Highlights the search-words within the cached document, such as "cache:www.google.com xxx" shows cached content with word "xxx" highlighted.
 
* <code>cache:</code> – Highlights the search-words within the cached document, such as "cache:www.google.com xxx" shows cached content with word "xxx" highlighted.
 
* <code>link:</code> – The prefix "link:" will list webpages that have links to the specified webpage, such as "link:www.google.com" lists webpages linking to the Google homepage.
 
* <code>link:</code> – The prefix "link:" will list webpages that have links to the specified webpage, such as "link:www.google.com" lists webpages linking to the Google homepage.

2016年6月22日 (三) 00:17的修訂版本

搜尋參數

主要參數

  • OR – 找兩者之一,如「price high OR low」會找"price high""price low".
  • - (負號) – 不包含某字詞,如「apple -tree」會找不含"tree"的頁.
  • "" – 一定要含某字詞(原 + 參數於 2011.10.19 取消).
  • * – 萬用字元用以代表任何字,如"type * blood".
  • .. - 範圍參數,如"$50..$100".

搜尋範圍指示字

  • define: – 提供字詞定義
  • stocks: –之後的內容視為股票行情符號
  • site: – 只在特定域名下找,如:site:www.acmeacme.com。參數"site:com"將找域名中含".com"的網站("site:"後無空白).
  • intext: – Prefix to search in a webpage text, such as "intext:google search" will list pages with word "google" in the text of the page, and word "search" anywhere (no space after "intext:").
  • allintitle: – 只對頁面標題進行搜索(而找標題以外的網頁上其餘文本)。
  • intitle: – Prefix to search in a webpage title, such as "intitle:google search" will list pages with word "google" in title, and word "search" anywhere (no space after "intitle:").
  • allinurl: – 只搜 URL (不搜網頁內文).
  • inurl: – Prefix for each word to be found in the URL; others words are matched anywhere, such as "inurl:acme search" matches "acme" in a URL, but matches "search" anywhere (no space after "inurl:").

搜尋結果指示字

  • cache: – Highlights the search-words within the cached document, such as "cache:www.google.com xxx" shows cached content with word "xxx" highlighted.
  • link: – The prefix "link:" will list webpages that have links to the specified webpage, such as "link:www.google.com" lists webpages linking to the Google homepage.
  • related: – The prefix "related:" will list webpages that are "similar" to a specified web page.
  • info: – The prefix "info:" will display some background information about one specified webpage, such as, info:www.google.com. Typically, the info is the first text (160 bytes, about 23 words) contained in the page, displayed in the style of a results entry (for just the 1 page as matching the search).
  • filetype: – results will only show files of the desired type (e.g. filetype:pdf will return pdf files)

Debug data: