
The Google's search operators can be used to refine the search and there are two types of them - boolean and advanced operators.
These operators can be combined in order to optimize and get the maximum from the searches.
The currently available advanced operators are:
site: allows you to search the web pages of a specific site. site:a-zv.com only lists the web pages of the a-zv.com website.
before: allows to obtain the listings published before a given date. You can specify an exact year or date.
after: like the previous one, but this command gives you results published after the specified date.
filetype: limit the search to the specified file type. filetype:DOCX can only search DOCX documents.
cache: allows you to view the specified page as it is stored in the Google cache. Example: cache:a-zv.com.
related: add a URL after the operator to know the similar pages. related:google.fr allows you to discover other search engines.
define: to obtain the definition of a term. define:network presents the definition of Network according to Wikipedia.
allintext: searches for a word only in the body of a site. This functionality excludes in particular the title of the page for the search. Example: allintext:programmer.
intext: same principle, for complete sentences.
allintitle: to search only in the titles of the pages (title tag).
intitle: same principle, to search for a complete sentence.
allinurl: to search only in the URL addresses of web pages.
inurl: same principle, to search for a complete phrase.
inanchor: for a request in which one of the keywords is placed as a link anchor
allinanchor: similar to the previous command for all query keywords
movie: to find out about screenings at the cinema near you. Simply add your city's postal code or name to specify your search. Example: movie:London.
stocks: Tracks a company's stock price. You can indicate the name of the company or the code of its action. Example: stocks:aapl or stocks:apple.
weather: to know the weather. Cities are supported, as are French regions. weather:Bretagne quite logically displays a radiant sun.
map: to view the map of a locality. Example: map:London.
source: reserved for Google News, this operator limits the search for the latest news to a single source. Example: source:cnn.com
Boolean operators
" ": quotation marks are used to search for an exact expression. "PHP News" shows sites where the words PHP News appear, only in that order.
–: the minus sign excludes a term. The -Amazon search tips query allows to know the pages containing tips and search, but excludes those containing Amazon.
..: two numbers separated by colons search for all numbers in the specified range. Laptop 500..1000 euros lists laptops between 500 and 1000 euros.
AND: excludes pages that do not contain the specified terms. PHP AND Programmer shows sites containing both of these terms, but not those containing only one of the two.
*: the asterisk is often used to know the entirety of a sentence or an expression. No *, no * makes it possible to find the expression no pain,no gain.
OR: the operator allows you to search for one term or another.
Remember that these operators can be combined, so using multiple operators within the same query greatly refines the results.