Pages

Monday, April 12, 2010

2. Advanced Operators

Google has some advanced operators which can directly speak to the engine. For example if you are searching for a book "Google Hacking" in pdf form, you can use this operators rather giving a plain query like "Google Hacking ebook". Some advanced operators are briefly explained here which may optimize your everyday search result.

1. inurl, allinurl

syntax: inurl:(parameter) / allinurl:(parameters)
These operators tells the engine to search only the url's for the word given as parameter. They both work similar but have one simple difference. inurl will search only for the word immediately follows the colon. Thus the first word after the colon is taken as parameter. But allinurl takes all the words following the colon.
eg: inurl:google
will search for those sites which are all having the word "google" as part of its url.

2. intitle, allintitle

syntax:intitle:(parameter) / allintitle:(parameters)
These operators tells the engine to search only in the title of the pages. If you see the source of a html page you can see some lines between and tages. These lines will be displayed in the title screen of your browser. Google will search only in this lines if you specify intitle operator. As the above intitle takes the first word as the parameter and allintitle takes all words as parameter.
eg:
intitle:google
will search for those pages having the word google in its title.
nly for the word immediately follows the colon. Thus the first word after the colon is taken as parameter. But allinurl takes all the words following the colon.

3.allintext

syntax:allintext:(parameters)
Like the above two it tells the engine to search only in the text area not in other places like url, title. It has no intext operator. So it includes all the words after the colon.
eg:
allintext:google
will search for the pages having "google" in its body.

4.filetype

syntax:filetype:(parameter)
This operator tells the engine to take only the specified type files. It will be helpful many times to search for a particular type files. Here the parameter should be any file type.
eg:
filetype:pdf
search only for pdf files.

5. site

syntax:site:(paremeter)
If you give this operator, the engine will search only in that site. Thus it will return all the pages in that site crawled by Google. The parameter should be any site (jeppiaarcollege.org) or domain (.edu, .com, .org).
eg:
site:jeppiaarcollege.org
returns only the pages crawled at jeppiaarcollege.org website. At the time of writing it returns 299 results.

6. phonebook, rphonebook, bphonebook

syntax:phonebook:(parameters) / rphonebook:(parameters) / bphonebook:(parameters)
If you are looking for phone number of a person who resides in USA, you can use this for search. The parameter should be the firstname or lastname or both of a person. Also the short form the city of the person can be giver. Phonebook search gives all the results related to the person. But rphonebook looks only in residential lists while bphonebook looks only in the business records.

eg:
phonebook:James Bond ny
will search for the person whose firstname is James and last name is Bond. And as we specified the city as New York (ny), it will only look at the New York city records.


Actually there are more than twenty advanced operators presented by Google. But these are the most used and very much helpful operators. And you have to follow some rules while using this operators.

1. There should not be any space between the operator, colon and the parameter.
2. Valid parameter should be supplied to the operator. Otherwise the result may be irrelevant.
3. More than one operators may be combined in a search. But you should logically thing before using them.
4. Logical operators also can be used with this advanced operators.

No comments:

Post a Comment