aym / google-ajax-apis

Automatically exported from code.google.com/p/google-ajax-apis
0 stars 0 forks source link

Result set seem to be using the "lr" parameter even if it's not set in the call URL #517

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
1. Make any search on Google.se where the SERP will be different if "pages 
written in.." is choosen or not. Eg. make a standard search for "trees" on 
Google.se.

Example:
http://www.google.se/#hl=sv&source=hp&q=trees&aq=f&aqi=g10&aql=&oq=&gs_rfai=&fp=
ed969f816131ddba

2. Make the same call from the API with "gl=se" but no "lr" parameter set, 
which should return the same SERP as the call on step 1 above.

Example:
http://ajax.googleapis.com/ajax/services/search/web?v=1.0&key=API-KEY&start=0&rs
z=8&q=trees&gl=se

3. The result set for the call in step 2 will be the same as if the "lr" 
parameter was set to "lr=sv" which is wrong. Step 1 and 2 should return the 
same SERP but they don't.

Original issue reported on code.google.com by rei...@hushmail.com on 18 Sep 2010 at 9:42

GoogleCodeExporter commented 8 years ago
Correction for the "lr" parameter in step 3, should be "lr=lang_sv"

Original comment by rei...@hushmail.com on 18 Sep 2010 at 9:48