Sunday, March 28, 2010

Google Power Search

Selalu kita cari bahan di web x jumpa, berikut aku bagi code2 yang boleh diguna untuk membantu korang membuat carian dengan lebih bijak dengan google

vacation hawaii =  the words vacation and Hawaii .

Maui OR Hawaii = either the word Maui or the word Hawaii

"To each his own" = the exact phrase to each his own

virus –computer  =  the word virus but NOT the word computer

+sock  = Only the word sock, and not the plural or any tenses or synonyms

~auto loan = loan info for both the word auto and its synonyms: truck, car, etc.

define:computer = definitions of the word computer from around the Web.

red * blue = the words red and blue separated by one or more words.


+                      addition                              45 + 39

-                      subtraction                          45 – 39

*                  multiplication                             45 * 39

/                        division                              45 / 39

%                       of percentage                     of 45% of 39

^                      raise to a power                              2^5


site: Search only one website admission

(Search Stanford Univ. site for admissions info.)

[#]…[#] Search within a

range of numbers DVD player $100..150

(Search for DVD players between $100 and $150)

link: linked pages

(Find pages that link to the Stanford University website.)

info: Info about a page

(Find information about the Stanford University website.)

related: Related pages

(Find websites related to the Stanford University website.)

Phrase search ("")

By putting double quotes around a set of words, you are telling Google to consider the exact words in that exact order without any change. Google already uses the order and the fact that the words are together as a very strong signal and will stray from it only for a good reason, so quotes are usually unnecessary. By insisting on phrase search you might be missing good results accidentally. For example, a search for [ "Alexander Bell" ] (with quotes) will miss the pages that refer to Alexander G. Bell.

Search within a specific website (site:)

Google allows you to specify that your search results must come from a given website. For example, the query [ iraq ] will return pages about Iraq but only from The simpler queries [ iraq ] or [ iraq New York Times ] will usually be just as good, though they might return results from other sites that mention the New York Times. You can also specify a whole class of sites, for example [ iraq ] will return results only from a .gov domain and [ iraq ] will return results only from Iraqi sites.

Terms you want to exclude (-)

Attaching a minus sign immediately before a word indicates that you do not want pages that contain this word to appear in your results. The minus sign should appear immediately before the word and should be preceded with a space. For example, in the query [ anti-virus software ], the minus sign is used as a hyphen and will not be interpreted as an exclusion symbol; whereas the query [ anti-virus -software ] will search for the words 'anti-virus' but exclude references to software. You can exclude as many words as you want by using the - sign in front of all of them, for example [ jaguar -cars -football -os ]. The - sign can be used to exclude more than just words. For example, place a hyphen before the 'site:' operator (without a space) to exclude a specific site from your search results.

Fill in the blanks (*)

The *, or wildcard, is a little-known feature that can be very powerful. If you include * within a query, it tells Google to try to treat the star as a placeholder for any unknown term(s) and then find the best matches. For example, the search [ Google * ] will give you results about many of Google's products (go to next page and next page -- we have many products). The query [ Obama voted * on the * bill ] will give you stories about different votes on different bills. Note that the * operator works only on whole words, not parts of words.

Search exactly as is (+)

Google employs synonyms automatically, so that it finds pages that mention, for example, childcare for the query [ child care ] (with a space), or California history for the query [ ca history ]. But sometimes Google helps out a little too much and gives you a synonym when you don't really want it. By attaching a + immediately before a word (remember, don't add a space after the +), you are telling Google to match that word precisely as you typed it. Putting double quotes around a single word will do the same thing.

The OR operator

Google's default behavior is to consider all the words in a search. If you want to specifically allow either one of several words, you can use the OR operator (note that you have to type 'OR' in ALL CAPS). For example, [ San Francisco Giants 2004 OR 2005 ] will give you results about either one of these years, whereas [ San Francisco Giants 2004 2005 ] (without the OR) will show pages that include both years on the same page. The symbol
can be substituted for OR. (The AND operator, by the way, is the default, so it is not needed.)


Search is rarely absolute. Search engines use a variety of techniques to imitate how people think and to approximate their behavior. As a result, most rules have exceptions. For example, the query [ for better or for worse ] will not be interpreted by Google as an OR query, but as a phrase that matches a (very popular) comic strip. Google will show calculator results for the query [ 34 * 87 ] rather than use the 'Fill in the blanks' operator. Both cases follow the obvious intent of the query. Here is a list of exceptions to some of the rules and guidelines that were mentioned in this and the Basic Search Help article:

Exceptions to 'Every word matters'

Words that are commonly used, like 'the,' 'a,' and 'for,' are usually ignored (these are called stop words). But there are even exceptions to this exception. The search [ the who ] likely refers to the band; the query [ who ] probably refers to the World Health Organization -- Google will not ignore the word 'the' in the first query.

Synonyms might replace some words in your original query. (Adding + before a word disables synonyms.)

A particular word might not appear on a page in your results if there is sufficient other evidence that the page is relevant. The evidence might come from language analysis that Google has done or many other sources. For example, the query [ overhead view of the bellagio pool ] will give you nice overhead pictures from pages that do not include the word 'overhead.'

Punctuation that is not ignored

Punctuation in popular terms that have particular meanings, like [ C++ ] or [ C# ] (both are names of programming languages), are not ignored.

The dollar sign ($) is used to indicate prices. [ nikon 400 ] and [ nikon $400 ] will give different results.

The hyphen - is sometimes used as a signal that the two words around it are very strongly connected. (Unless there is no space after the - and a space before it, in which case it is a negative sign.)

The underscore symbol _ is not ignored when it connects two words, e.g. [ quick_sort ].

DATE RANGES: You may limit your search to an exact date of a "range" of dates that a page was indexed by Google. To use Google's "daterange" function, you will need to express your dates in "Julian" dates. This date format is express as an integer. To convert a common date into Julian format go to:

As an example, if I wanted to find pages (about a certain topic) indexed by Google during the month of May 2003, I would type in:

"direct response marketing" daterange: 2452774-2452803

TYPES OF FILES: You can limit your Google search results to specific files ending in a particular extension (.doc, .txt, .rtf, .pdf etc...) To find a file on the topic "direct response marketing" in Adobe (.pdf) format you would type in:

"direct response marketing" filetype:pdf

You can exclude certain types of files from your search by doing a "negative" search and placing a "minus" ( - ) sign in front of the "filetype:"

ANCHOR TEXT SEARCHES: Allow you to just search the "anchor" text in web page link anchors. Link anchors are the words that appear between: <.a href="yadayada.html">Direct Response Marketing<.a>

In this case it's the phrase Direct Response Marketing.

PLAIN TEXT SEARCHES: By using Google's "intext" search capabilities, you can search JUST the body text of web pages and not any links, urls or titles, just the body. Simply type:

intext:"direct response marketing"

CACHE SEARCHING: This form of searching will only search for results on sites that are stored in Google's "cache' or memory. This sometimes can give you older versions of sites. Example:


LINK SEARCHES: Want to know how many and what sites have links back to your site? Just search for your domain preceded by "link:"


INFO SEARCHING: Find out what information Google has stored about a particular web page or site by searching:


GOOGLE'S PHONEBOOK: Yes, Google has a phenomenal phone book database allowing you to search for both residential and business phone numbers. You may use the following search orders:

FN or FI (first name or first initial), LN (last name), city

FN (FI), LN, state

FN (FI), LN, area code

FN (FI), LN, zip code

phone # including area code (ex: 111-222-3333)

LN, city, state

LN, zip code

To find the phone number of the Whitehouse you would search:

phonebook: whitehouse washington dc

To find the phone number of the John Smith in Anytown, NY you could search:

phonebook: john smith ny


phonebook: smith anytown ny


phonebook: j smith ny

STOCK SEARCHING: Google can generate results on just about any stock because they use the stock information from the Yahoo! finance pages. For example:

stocks: ebay

Phew! Now, this list isn't even exhaustive, but it will give 99.99% of you enough information and insight to start REALLY tapping into the top ranked search engine in the world: Go have some fun!

No comments:


Related Posts Plugin for WordPress, Blogger...