How to Google Search Like a Pro



Awesome Tips Series about Google Products


Search to find info first

  • Try search first instead of scroll or skew it first.

Google Search Tips

  • Use quotes for exact search
  • * to match any word or phrase
  • + to force include, - to eliminate results containing certain words
  • search syntax: OR, AND
  • site:, intitle:, inurl:, intext:, allintext:, link:, related:, filetype:
  • how to pronounce vs,
  • translate [keyword or sentence] to [language]
  • tip calculator, mortgage calculator, timer, stopwatch, [length of time] timer, color picker
  • search hashtag: #throwbackthursday
  • Search for a price: camera $400
  • Search within a range of numbers: camera $50..$100
  • Use Google Search or chrome search address bar:
    • do math, check spelling, unit conversions(USD to Yuan), weather, define:
  • flight/travel: san jose to shanghai

How to restrict search by a date range

  • In the UI, go to Tools -> Any Time: then specify time range: past hour/week etc
  • Query filter: before, after
  • sort by date for news search
Use qdr: query day range as url parameter
  • qdr: query day range as url parameter
    • qdr:h(past hour), d(past day), w(past week), m(past month), y(past year), qdr:h12 (past 12 hours)
    • only works when pass it as url parameter, not as query string in the input box.
  • Create custom search engine to easily search within date range, so we don’t have to (use Trackpad) to move pointers and more clicks.
    • Useful to find new update about book, tv shows
    • https://www.google.com/search?tbs=qdr:d&q=%s
  • Check here to know why I hate Trackpad and how to use more keyboard, less trackpad

Usage rights

  • In the advanced search, use the drop-down to choose what kind of license you want the content to have in the “Usage rights” section.

Custom Search Engines in Chrome

  • chrome://settings/searchEngines
  • Chrome automatically add custom search engine for StackOverflow, Amazon etc; we can change the keyword shorter to make it even easier to use. For example change stackoverflow.com to st, superuser.com to su.
NamekeywordURL
Site Searchsitejavascript:location=‘https://www.google.com/search?num=100&q=site:’+escape(location.hostname)+‘+%s’
Lucky Search With googleglhttps://www.google.com/search?btnI=1&q=%s
Lucky Search with DuckDuckGodlhttps://duckduckgo.com/?q=!ducky %s
YouTube Searchyhttps://www.youtube.com/results?search_query=%s
Google maps Searchgmhttps://www.google.com/maps?q=%s
Google Maps - Homeghhttps://www.google.com/maps/dir/home/%s
Last Day Searchldshttps://www.google.com/search?tbs=qdr:d&q=%s
Leave Address barljavascript:

Search the Chrome History

  • Don’t delete all chrome history (unless you have good reason)
    • search and delete specific pages instead.

Use Chrome History to find/reopen recently closed pages

  • Try to reopen one specific page (not the last one) after close the window, or multiple pages, don’t use ctrl+shift+t to reopen them then try to find it: reopening them would cause a lot of memory spike and may cause disk spin etc.
  • Directly use Chrome Search history to find the page: search or scan last several pages.

Remove History to Make Search Address Bar Work Better

  • Sometime, our browser history may cause some inconvenience, type “ma”, think the first would be “mail.google.com”, but maybe you recently searched mac xxx which may be shown first.
  • To fix it, we can Cmd+y to open search history, paste mac xxx then click the search result area and Cmd+A to select all then delete it by delete keyboard or the delete button.

Gmail Search Tips

  • from, to, cc, bcc, subject, -, label:, filename:,
  • OR or {}
  • category:, possible values: promotions, update, primary, social, forums,
  • after:, before:, older:, newer:
  • older_than: newer_than:
    • delete all old emails older than 3 months in promotions: category:promotions older_than:3m
  • has:attachment, has:presentation/document/spreadsheet/youtube
  • has:yellow-star, has:blue-info/purple-star
  • is:important, is:starred/read/unread/snoozed
  • AROUND: secret AROUND 25 birthday or holiday AROUND 10 vacation
    • Find messages with words near each other. Use the number to say how many words apart the words can be
    • Add quotes to find messages in which the word you put first stays first.
  • flight/travel: san jose to shanghai

Youtube Search Tips

  • Use commas to activate filters:
    • Upload date: hour, today, week, month, year, no need this or last
    • Duration: long, short
    • Features: live, HD
    • Type playlist, channel, movie, show, video
  • -channel: exclude channels
  • intitle: to search terms in the name of the video
  • " " to exact match, +,-
  • sort by relevance, view count, upload date, rating

Youtube Search Urls

Misc

  • archive.org to find page deleted
    • https://web.archive.org/web/*/%s
  • Google Cache(cache:)
    • http://webcache.googleusercontent.com/search?q=cache:%s
  • DuckDuckGo
    • !Bang syntax: !a mac mini

Feeling lucky:

Labels

adsense (5) Algorithm (69) Algorithm Series (35) Android (7) ANT (6) bat (8) Big Data (7) Blogger (14) Bugs (6) Cache (5) Chrome (19) Code Example (29) Code Quality (7) Coding Skills (5) Database (7) Debug (16) Design (5) Dev Tips (63) Eclipse (32) Git (5) Google (33) Guava (7) How to (9) Http Client (8) IDE (7) Interview (88) J2EE (13) J2SE (49) Java (186) JavaScript (27) JSON (7) Learning code (9) Lesson Learned (6) Linux (26) Lucene-Solr (112) Mac (10) Maven (8) Network (9) Nutch2 (18) Performance (9) PowerShell (11) Problem Solving (11) Programmer Skills (6) regex (5) Scala (6) Security (9) Soft Skills (38) Spring (22) System Design (11) Testing (7) Text Mining (14) Tips (17) Tools (24) Troubleshooting (29) UIMA (9) Web Development (19) Windows (21) xml (5)