web-search.rst
changeset 672 6db052c78691
parent 615 43c69dfaf8ea
child 685 6413021852a2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web-search.rst	Sun Nov 07 20:04:08 2010 +0200
@@ -0,0 +1,149 @@
+-*- mode: outline; coding: utf-8 -*-
+
+* Google search query syntax.
+
+  http://www.google.com/support/websearch/bin/answer.py?answer=136861
+                Google search basics: More search help
+  http://code.google.com/intl/ru/apis/soapsearch/reference.html
+                Google SOAP Search API Reference
+  http://www.google.com/cse/docs/resultsxml.html
+                Google WebSearch Protocol Reference for Google Site Search
+  http://en.wikipedia.org/wiki/Google_Search
+
+** Phrase Search.
+
+Use double quotes to search exactly mutch of string. Words marked in this way will appear together
+in all results exactly as entered.
+
+  "WORD1 WORD2 WORD3"
+
+Note: You may need to use a "+" to force inclusion of common words in a phrase.
+
+** Boolean OR Search.
+
+"OR" capital is essential.
+
+  WORD1 OR WORD2
+
+Remove site from search by "-site:"
+
+  WORD1 WORD2 -site:ebay.com -site:shopping.com
+
+** Include query term (search exactly as is).
+
+If a common word is essential to getting the results you want, you can include it by putting a "+"
+sign in front of it.
+
+ +WORD WORD1 WORD2
+
+** Exclude query term.
+
+You can exclude a word from your search by putting a minus sign ("-") immediately in front of the
+term you want to exclude from the search results.
+
+  WORD1 WORD2 -WORD
+
+** Fill in the blanks.
+
+  GNU *
+  Mozilla *
+
+** Site Restricted Search.
+
+  site:example.com WORD1 WORD2
+  site:.gov WORD
+
+** Cached Results Page.
+
+The query prefix "cache:" returns the cached HTML version of the specified web document that the
+Google search crawled. Note there can be no space between "cache:" and the web page URL. If you
+include other words in the query, Google will highlight those words within the cached document.
+
+  cache:www.google.com
+
+Use Google as a free proxy (if direct access bloked): cache:example.com
+
+** Title Search.
+
+Restricts the results to those with all of the query words in the title.
+
+  intitle:WORD1 intitle:WORD2 WORD3
+  allintitle:WORD1 WORD2
+
+Note: Putting "intitle:" in front of every word in your query is equivalent to putting "allintitle:"
+at the front of your query.
+
+** URL Search.
+
+If you prepend "inurl:" to a query term, Google search restricts the results to documents containing
+that word in the result URL. Note there can be no space between the "inurl:" and the following word.
+
+Starting a query with the term "allinlinks:" restricts the results to those with all of the query
+words in the URL links on the page.
+
+  inurl:WORD1 inurl:WORD2 WORD
+  allinurl: WORD1 WORD2
+
+Note: "inurl:" works only on words, not URL components. In particular, it ignores punctuation and
+uses only the first word following the "inurl:" operator. To find multiple words in a result URL,
+use the "inurl:" operator for each word.
+
+Note: Putting "inurl:" in front of every word in your query is equivalent to putting "allinurl:" at
+the front of your query.
+
+** Text Only Search.
+
+Starting a query with the term "allintext:" restricts the results to those with all of the query
+words in only the body text, ignoring link, URL, and title matches.
+
+  allintext: WORD1 WORD2
+
+** File Type Filtering.
+
+The query prefix "filetype:" filters the results returned to include only documents with the
+extension specified immediately after. Note there can be no space between "filetype:" and the
+specified extension.
+
+  WORD filetype:doc OR filetype:pdf
+
+** File Type Exclusion.
+
+The query prefix "-filetype:" filters the results to exclude documents with the extension specified
+immediately after. Note there can be no space between "-filetype:" and the specified extension.
+
+  WORD -filetype:doc -filetype:pdf
+
+** Web Document Info.
+
+The query prefix "info:" returns a single result for the specified URL if it exists in the index.
+
+  info:www.google.com
+
+Note: No other query terms can be specified when using this special query term.
+
+** Back Links.
+
+The query prefix "link:" lists web pages that have links to the specified web page.
+
+  link:www.google.com
+
+Note: there can be no space between "link:" and the web page URL.
+
+Note: No other query terms can be specified when using this special query term.
+
+** Related Links.
+
+Lists web pages that are similar to the specified web page.
+
+  related:www.google.com
+
+Note: there can be no space between "related:" and the web page URL.
+
+Note: No other query terms can be specified when using this special query term.
+
+** Word definition.
+
+The query prefix "define:" will provide a definition of the words listed after it.
+
+  define:WORD
+