| Search Operator |
Description |
Example |
| allinanchor: |
Restricts the search to pages that contain all the search terms in the anchor text of the page.
The following example shows an anchor tag:
<a href="http://foo.com">Go Foo</a>
allinanchor: evaluates the text between > and </a>. allinanchor: evaluates only <a href anchor tags. It does not evaluate <a name anchor tags.
An anchor is a marker inserted at a specific section of a page. It lets the writer of the document create links to these anchors, which quickly take the reader to the specified section. The table of contents at the top of this document, for example, uses hyperlinks to anchors embedded throughout this document.
Do not include any other search operators with the allinanchor: operator. |
Typing allinanchor:cheap books in the search box returns only pages that have anchor text that include the words "cheap" and "books" between > and </a>.
|
| allintitle: |
Restricts the search to documents whose HTML title contains all the search terms.
Also see the intitle: search operator. |
Typing allintitle:google search in the search box returns only documents that have both "google" and "search" in the HTML title. |
| allintext: |
Restricts the search to documents whose titles or body text contains the search terms. The search appliance does not search for the query words in the metadata, anchors, or urls.
Also see the intext: search operator. |
Typing allintext:google search in the search box returns only documents that have both "google" and "search" in the title or body text of the document. |
| allinurl: |
Restricts the search to documents whose URL contains the search terms. The search operator does not require the query words to be adjacent to each other in the document, nor does it require the words to appear in a particular order in the document.
The search operator works on words in the URL, not URL components such as punctuation. Slashes ("/"), for example, are ignored.
Also see the inurl: search operator. |
Typing allinurl:google search in the search box returns only documents that have both "google" and "search" in the URL.
Typing allinurl:google/search in the search box returns the same documents as the previous example. The slash in the search term is altogether ignored.
|
| cache: |
The search engine keeps the text of the many documents it crawls available in a backed-up format known as "cache." A cached version of a web page can be retrieved if the original page is unavailable, such as when the page's server is down. The cached page appears exactly as it looked when the crawler last crawled it, but it includes a message (at the top of the page) to indicate that it's a cached version of the page.
If you include search words in addition to the web address in your query, those search words will be highlighted within the cached document.
|
Typing cache:www.google.com in the search box returns the cached version of Google's homepage.
Typing cache:www.google.com press releases in the search box returns the cached content with the words "press" and "releases" highlighted.
|
| daterange: |
Restrict search to documents that contain dates that fall within a time frame, or before or after a specified date. You can search any dates between 1990-01-01 and 2034-11-09. The dates can be in any format except Julian format, which is considered a number range search. When specifying dates in ISO 8601 format (YYYY-MM-DD), separate date ranges by two periods (..). |
Typing election daterange:2004-01-13..2006-01-13 in the search box returns results for the search term "election" whose dates fall within the specified time range. |
| filetype: |
Restricts the search to specific file types such as Excel spreadsheets, PDF files, or Word documents. Type the filetype: operator followed by the file extension. |
Typing cars filetype:pdf in the search box returns only PDF files about cars. |
| info: |
Returns the following information for that particular URL:
- The cache of the page
- Web sites that are similar to the page
- Web pages that have hyperlinks to the page
- Web pages that are hyperlinked in that page
- Web pages that contain the URL in its body text
|
Typing info:www.google.com in the search box returns the following information about the Google home page:
- The cache of www.google.com
- Web sites that are similar to www.google.com
- Web pages that have hyperlinks to www.google.com
- Web pages that are hyperlinked in www.google.com
- Web pages that contain the www.google.com in its body text
|
| inmeta: |
You can filter results by meta tags and their values using inmeta. Used with the operators ~ or =, inmeta restricts results to required or partial meta tag values in the same way as the requiredfields and partialfields search parameters. |
Typing inmeta:department=Human Resources returns documents where the meta tag includes department=Human Resources.
|
| intext: |
Restricts the search to documents that contain the search word in the titles or body text of the documents. The search appliance does not search for the query word in the metadata, anchors, or urls.
Putting intext: in front of every word in your query is equivalent to putting allintext: at the front of your query. |
Typing intext:google returns documents that mention the word "google" in their title or body text.
Typing intext:google intext:search in the search box is the same as typing allintext: google search.
|
| intitle: |
Restricts the search to documents that contain the search word in the HTML title.
Putting intitle: in front of every word in your query is equivalent to putting allintitle: at the front of your query. |
Typing intitle:google search returns documents that mention the word "google" in their HTML title, and mention the word "search" in the title, body text, anchor, or anywhere else in the document.
Typing intitle:google intitle:search in the search box is the same as typing allintitle:google search.
|
| inurl: |
Restricts the search to documents that contain the search word in the URL.This operator works on words, not URL components such as punctuation. Slashes ("/"), for example, are ignored.
Putting the inurl: operator in front of every word in your query is equivalent to putting allinurl: at the front of your query. |
Typing inurl:google search in the search box returns documents that mention the word "google" in their URL and mention the word "search" in the URL, body text, title, or anywhere else in the document.
Typing inurl:google/search in the search box returns the same documents as the previous example. The slash in the search term is altogether ignored. Typing google inurl:google inurl:search in the search box returns documents that contain both "google" and "search" in the URL. It returns the same documents as the search query allinurl:google search. |
| link: |
Restricts the search to all pages that link to the web site in the query.
No other search term can be appended to this search operator and the specified web site. |
Typing link:www.berkeley.edu in the search box returns all the pages that link to that page. |
| site: |
Restricts the search to documents in a web site. If you do not specify the web site and just type the generic top-level domain, such as .com, .edu, or .org, the search engine returns all documents in the generic top-level domain.
The site: operator lets you extend the search restriction down to directories. |
Typing help site:www.google.com in the search box returns pages about help or user documentation within www.google.com.
Typing help site:com in the search box finds pages about help or user documentation within all web sites that end in .com.
Typing site:www.google.com/enterprise/ restricts the search to everything at the enterprise directory level. If the trailing slash is omitted, as in www.google.com/enterprise, all subdirectories are searched. |