Google Blogoscoped

Thursday, July 5, 2007

Google’s Advanced Search Syntax

Joseph Becher put up a detailed explanation of the Google search syntax. This is a compilation from several sources, including Google’s official advanced search help. Joseph also breaks up the Google search URL into its different parameters (I’ve added the last one):
as_q=test (query string)
&hl=en (language)
&num=10 (number of results [10,20,30,50,100])
&as_epq= (complete phrase)
&as_oq= (at least one)
&as_eq= (excluding)
&lr= (language results. [lang_countrycode])
&as_ft=i (filetype include or exclude. [i,e])
&as_filetype= (filetype extension)
&as_qdr=all (date [all,M3,m6,y])
&as_nlo= (number range, low)
&as_nhi= (number range, high)
&as_occt=any (terms occur [any,title,body,url,links])
&as_dt=i (restrict by domain [i,e])
&as_sitesearch= (restrict by [site])
&as_rights= (usage rights [cc_publicdomain, cc_attribute, cc_sharealike, cc_noncommercial, cc_nonderived]
&safe=images (safesearch [safe=on,images=off])
&as_rq= (similar pages)
&as_lq= (pages that link)
&gl=us (country)

On that note, recently Raven in the forum posted a Google advanced search page mockup. I thought this was fun so here I’m adding another one:

[Thanks Joe!]


Blog  |  Forum     more >> Archive | Feed | Google's blogs | About


This site unofficially covers Google™ and more with some rights reserved. Join our forum!