|
1 -*- mode: outline; coding: utf-8 -*- |
|
2 |
|
3 * Google search query syntax. |
|
4 |
|
5 http://www.google.com/support/websearch/bin/answer.py?answer=136861 |
|
6 Google search basics: More search help |
|
7 http://code.google.com/intl/ru/apis/soapsearch/reference.html |
|
8 Google SOAP Search API Reference |
|
9 http://www.google.com/cse/docs/resultsxml.html |
|
10 Google WebSearch Protocol Reference for Google Site Search |
|
11 http://en.wikipedia.org/wiki/Google_Search |
|
12 |
|
13 ** Phrase Search. |
|
14 |
|
15 Use double quotes to search exactly mutch of string. Words marked in this way will appear together |
|
16 in all results exactly as entered. |
|
17 |
|
18 "WORD1 WORD2 WORD3" |
|
19 |
|
20 Note: You may need to use a "+" to force inclusion of common words in a phrase. |
|
21 |
|
22 ** Boolean OR Search. |
|
23 |
|
24 "OR" capital is essential. |
|
25 |
|
26 WORD1 OR WORD2 |
|
27 |
|
28 Remove site from search by "-site:" |
|
29 |
|
30 WORD1 WORD2 -site:ebay.com -site:shopping.com |
|
31 |
|
32 ** Include query term (search exactly as is). |
|
33 |
|
34 If a common word is essential to getting the results you want, you can include it by putting a "+" |
|
35 sign in front of it. |
|
36 |
|
37 +WORD WORD1 WORD2 |
|
38 |
|
39 ** Exclude query term. |
|
40 |
|
41 You can exclude a word from your search by putting a minus sign ("-") immediately in front of the |
|
42 term you want to exclude from the search results. |
|
43 |
|
44 WORD1 WORD2 -WORD |
|
45 |
|
46 ** Fill in the blanks. |
|
47 |
|
48 GNU * |
|
49 Mozilla * |
|
50 |
|
51 ** Site Restricted Search. |
|
52 |
|
53 site:example.com WORD1 WORD2 |
|
54 site:.gov WORD |
|
55 |
|
56 ** Cached Results Page. |
|
57 |
|
58 The query prefix "cache:" returns the cached HTML version of the specified web document that the |
|
59 Google search crawled. Note there can be no space between "cache:" and the web page URL. If you |
|
60 include other words in the query, Google will highlight those words within the cached document. |
|
61 |
|
62 cache:www.google.com |
|
63 |
|
64 Use Google as a free proxy (if direct access bloked): cache:example.com |
|
65 |
|
66 ** Title Search. |
|
67 |
|
68 Restricts the results to those with all of the query words in the title. |
|
69 |
|
70 intitle:WORD1 intitle:WORD2 WORD3 |
|
71 allintitle:WORD1 WORD2 |
|
72 |
|
73 Note: Putting "intitle:" in front of every word in your query is equivalent to putting "allintitle:" |
|
74 at the front of your query. |
|
75 |
|
76 ** URL Search. |
|
77 |
|
78 If you prepend "inurl:" to a query term, Google search restricts the results to documents containing |
|
79 that word in the result URL. Note there can be no space between the "inurl:" and the following word. |
|
80 |
|
81 Starting a query with the term "allinlinks:" restricts the results to those with all of the query |
|
82 words in the URL links on the page. |
|
83 |
|
84 inurl:WORD1 inurl:WORD2 WORD |
|
85 allinurl: WORD1 WORD2 |
|
86 |
|
87 Note: "inurl:" works only on words, not URL components. In particular, it ignores punctuation and |
|
88 uses only the first word following the "inurl:" operator. To find multiple words in a result URL, |
|
89 use the "inurl:" operator for each word. |
|
90 |
|
91 Note: Putting "inurl:" in front of every word in your query is equivalent to putting "allinurl:" at |
|
92 the front of your query. |
|
93 |
|
94 ** Text Only Search. |
|
95 |
|
96 Starting a query with the term "allintext:" restricts the results to those with all of the query |
|
97 words in only the body text, ignoring link, URL, and title matches. |
|
98 |
|
99 allintext: WORD1 WORD2 |
|
100 |
|
101 ** File Type Filtering. |
|
102 |
|
103 The query prefix "filetype:" filters the results returned to include only documents with the |
|
104 extension specified immediately after. Note there can be no space between "filetype:" and the |
|
105 specified extension. |
|
106 |
|
107 WORD filetype:doc OR filetype:pdf |
|
108 |
|
109 ** File Type Exclusion. |
|
110 |
|
111 The query prefix "-filetype:" filters the results to exclude documents with the extension specified |
|
112 immediately after. Note there can be no space between "-filetype:" and the specified extension. |
|
113 |
|
114 WORD -filetype:doc -filetype:pdf |
|
115 |
|
116 ** Web Document Info. |
|
117 |
|
118 The query prefix "info:" returns a single result for the specified URL if it exists in the index. |
|
119 |
|
120 info:www.google.com |
|
121 |
|
122 Note: No other query terms can be specified when using this special query term. |
|
123 |
|
124 ** Back Links. |
|
125 |
|
126 The query prefix "link:" lists web pages that have links to the specified web page. Note there can |
|
127 be no space between "link:" and the web page URL. |
|
128 |
|
129 link:www.google.com |
|
130 |
|
131 Note: No other query terms can be specified when using this special query term. |
|
132 |
|
133 ** Related Links. |
|
134 |
|
135 The query prefix "related:" lists web pages that are similar to the specified web page. Note there |
|
136 can be no space between "related:" and the web page URL. |
|
137 |
|
138 related:www.google.com |
|
139 |
|
140 Note: No other query terms can be specified when using this special query term. |
|
141 |