Basic BooleanWhenever you search for more than one keyword at a time, Google will search for all of them. If you search for
XML Java "web Services"
Google will search for all the words. If you want to specify that either word is acceptable, you put an OR between each item
XML OR Java OR "Web Services"
If you want to have definitely one term and one of two or more other terms, you group them with parentheses, like this
XML (Java OR "Web Services")
This query searches for the word “Java” or phrase “Web Services” along with the word “XML.” A stand-in for OR borrowed from the computer programming realm is the | (pipe) character, as in
XML (Java | "Web Services")
If you want to specify that a query item must not appear in your results, use a -.(minus sign or dash).
XML Java -"Web Services"
This will search for pages that contain both the words “XML” and “Java” but not the phrase “Web Services.”
OperatorsIn addition to the basic AND, OR, and quoted strings, Google offers some rather extensive special syntaxes for honing your searches. Google being a full-text search engine, it indexes entire web pages instead of just titles and descriptions. Additional commands, called special syntaxes, let Google users search specific parts of web pages or specific types of information. Specifying that your query words must appear only in the title or URL of a returned web page is a great way to have your results get very specific without making your keywords themselves too specific.
Here are some of the common keywords that you can add to your query in Google
intitle, allintitleRestricts your search to the titles of web pages. The variation, allintitle: finds pages wherein all the words specified make up the title of the web page. It’s probably best to avoid the allintitle: variation, because it doesn’t mix well with some of the other syntaxes.
allintitle:"money supply" economics
inurl, allinurlRestricts your search to the URLs of web pages. This syntax tends to work well for finding search and help pages, because they tend to be rather regular in composition. An allinurl: variation finds all the words listed in a URL but doesn’t mix well with some other special syntaxes.
intext, allintextSearches only body text (i.e., ignores link text, URLs, and titles). There’s an allintext: variation, but again, this doesn’t play well with others. While its uses are limited, it’s perfect for finding query words that might be too common in URLs or link titles.
inanchorSearches for text in a page’s link anchors. A link anchor is the descriptive text of a link. For example, the link anchor in the HTML code O’Reilly and Associates is “O’Reilly and Associates.”
siteAllows you to narrow your search by either a site or a top-level domain. AltaVista, for example, has two syntaxes for this function (host: and domain:), but Google has only the one.
You can also use site: operator to exclude certain domains from a search
This is particularly useful for ego searches. You can find out all those sites which mention your name expect your site.
bill gates -site:microsoft.com -site:wikipedia.org
linkReturns a list of pages linking to the specified URL. Enter link:www.google.com and you’ll be returned a list of pages that link to Google. Don’t worry about including the http:// bit; you don’t need it, and, indeed, Google appears to ignore it even if you do put it in. link: works just as well with “deep” URLs-http://www.raelity.org/apps/blosxom/ for instance-as with top-level URLs such as raelity.org.
cacheFinds a copy of the page that Google indexed even if that page is no longer available at its original URL or has since changed its content completely. This is particularly useful for pages that change often. If Google returns a result that appears to have little to do with your query, you’re almost sure to find what you’re looking for in the latest cached version of the page at Google.
filetypeSearches the suffixes or filename extensions. These are usually, but not necessarily, different file types. I like to make this distinction, because searching for filetype:htm and filetype:html will give you different result counts, even though they’re the same file type. You can even search for different page generators, such as ASP, PHP, CGI, and so forth-presuming the site isn’t hiding them behind redirection and proxying. Google indexes several different Microsoft formats, including: PowerPoint (PPT), Excel (XLS), and Word (DOC).
"leading economic indicators" filetype:ppt
relatedFinds pages that are related to the specified page. Not all pages are related to other pages. This is a good way to find categories of pages; a search for related:google.com would return a variety of search engines, including HotBot, Yahoo!, and Northern Light.
infoProvides a page of links to more information about a specified URL. Information includes a link to the URL’s cache, a list of pages that link to that URL, pages that are related to that URL, and pages that contain that URL. Note that this information is dependent on whether Google has indexed that URL or not. If Google hasn’t indexed that URL, information will obviously be more limited.
defineWill get the definition of the term that you have entered. This syntax can be used to get the definitions of words, phrases, and acronyms
This query will get you the definition of the word dreaming
numrangeIf you want to search for a range of numbers then you can use two dots (without spaces) to represent a range of numbers
This query will get you all the inventions between 1850 and 1899
safesearchIf you include safesearch: in your query, Google will exclude adult-content.
This will search for information on breasts without returning adult or pornographic sites.
stocksIf you start your query with stocks:, Google will interpret the rest of the query terms as NYSE, NASDAQ, AMEX, or mutual fund stock ticker symbols, and will open a page showing stock information for the symbols you specify.
This will show information about Google’s stock. Specify ticker symbols not company names. If you enter an invalid ticker symbol, you’ll be told so and given a link to a page where you can look up a valid ticker symbol.
The Special Syntaxes
Currency ConversionGoogle makes it easy to calculate money conversions from one form of currency to another.
$5 in yenThe above query will let you know that five dollars is worth about 566.599846 yen.
If you’re not sure of the name of a currency, use nationality instead.
25 Australian money in Italian money
This may sound awkward but it does the job.
$5 in indian money
This will let you know that 5 US dollars is worth about 224.477976 Indian rupees
You can even convert units in this fashion.
$2.85 per gallon in British money per literThis query will tell you that it is about 42 pence per liter and provides an international basis for discussing gas prices at the pump.
Check AirfaresWhen you google for the names of two major cities, Google automatically offers to search for flights.
Denver Fort Lauderdale
In the form labeled “Flights from Denver, CO to Fort Lauderdale, FL”, enter a departure and return date and choose whether to search using Expedia, Hotwire or Orbitz. Do not use quotation marks in your initial search. Denver “Fort Lauderdale” will not bring up the flight search form.
Find Song LyricsIf you are looking for the title or lyrics of a song then you can use Google search phrases and wildcards to find them.
"Friday I am in love" lyrics
Or use the wildcard operator to get lyrics with certain words in them, like this
"Friday * love" lyrics
This compilation is just a tip of the iceberg of the features available in Google’s search syntax. If you come across any other special syntax, then do let me know so that I can add it.
Fetch only Fresh results
First one is to narrow down your search to only the most recent web pages. This is particularly important, since Google has started serving fresh results.
Alex Chitu from the unofficial Google Operating system blog has found that we can use as_qdr query parameter to search only for fresh pages.
In order to use this you have to add a new parameter as_qdr at the end of the url like below
The as_qdr parameter can take the following possible values.
- d[number] – past number of days (e.g.: d5)
- w[number] – past number of weeks (e.g: w5)
- y[number] – past number of years (e.g: y5)
Being born in India, circket is there in my blood and the same for Sadeesh Duraisamy who works in Google. Thanks to him and now we can keep an eye on the latest circket scores by just typing the word cricket in Google’s search box.
Well, it’s time for me to watch the do-or-die match with South Africa for India in the latest twenty20 tournament.
In addition to fetching fresh results and following cricket scores, you can also now also get the current time for any city by just searching in Google.
All you have to do is just type time followed by the city name
Eg: time Chennai
You can also search by typing the time zone
Eg: time central
Next time when I have to send a meeting request to my clients (who are in US), I can save a few seconds by doing a Google search rather than changing the timezone in my computer clock to find their current time.
wow, great, I was wondering how to cure acne naturally. trig idenitiesReplyDelete
Each & every tips of your post are awesome. Thanks a lot for sharing. Keep blogging, notepad plus plus portableReplyDelete
great informative blogs. thanks for sharing these information with all of us. Kinemaster LiteReplyDelete