What do you mean?  For all practical purposes, there is no limit on  
the number of requests you can submit to the Search API outside of  
some necessary, but you are limited in the number of results that you  
will get (i.e., no more than 32 results across 4 pages of 8 results  
each, per query).  So if your question is pointed toward a request  
rate limit, the answer is no.  If you're looking to get more results,  
the best you can do is going to be outlined here:

http://groups.google.com/group/Google-AJAX-Search-API/browse_thread/thread/8bd7449e7bbdbaa2/d89417137a4e3fff?lnk=gst&q=get+all+results+author%3Ajgeerdes#d89417137a4e3fff

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
[EMAIL PROTECTED]

Unless otherwise noted, any price quotes contained within this  
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights  
Wesleyan Church!




On Nov 30, 2008, at 5:43 AM, Faraz Y wrote:

>
> Thanks
> Got it
>
> There is no limit on how much you can use this, right ?
>
> Ross
>
> On Nov 30, 2008, at 3:37 AM, Jeremy Geerdes wrote:
>
>>
>> To do what you're trying to do, you need to set a search complete
>> callback that will do two things: (a) stash the searcher's results
>> array in a new variable that won't be destroyed when the second set
>> comes in, and (b) call the searcher's gotoPage method.  You can't  
>> call
>> gotoPage until after you've received the first resultset.  So your
>> code will have to look something like this:
>>
>> var gLocalSearch = new google.search.LocalSearch();
>> gLocalSearch.setCenterPoint(...);
>> gLocalSearch.setSearchCompleteCallback(gLocalSearch,function(){
>> if(gLocalSearch.cursor.currentPageIndex==0){
>>  gLocalSearch.firstResults=[];
>> }
>> gLocalSearch.firstResults.concat(gLocalSearch.results);
>> if(gLocalSearch.cursor.currentPageIndex<1){
>>  gLocalSearch.gotoPage(1); // because you start on page 0, I believe
>> }
>> else{
>>  // do something with the results
>> }
>> });
>> gLocalSearch.execute(...);
>>
>> It's probably not perfect, but I hope that helps!
>>
>> Jeremy R. Geerdes
>> Effective website design & development
>> Des Moines, IA
>>
>> For more information or a project quote:
>> http://jgeerdes.home.mchsi.com
>> [EMAIL PROTECTED]
>>
>> Unless otherwise noted, any price quotes contained within this
>> communication are given in US dollars.
>>
>> If you're in the Des Moines, IA, area, check out Debra Heights
>> Wesleyan Church!
>>
>>
>>
>>
>> On Nov 29, 2008, at 10:57 PM, Rossy wrote:
>>
>>>
>>> Basically I am trying to get 16 results by
>>> gLocalSearch.gotoPage(1);
>>> gSearchForm.execute("italian restaurants in san diego ");
>>> gLocalSearch.gotoPage(2);
>>> gSearchForm.execute("italian restaurants in san diego ");
>>> And merge the 2 results
>>>
>>>
>>> On Nov 29, 7:54 pm, Jeremy Geerdes <[EMAIL PROTECTED]> wrote:
>>>> You can find the gotoPage functionality used here:
>>>>
>>>> http://www.google.com/uds/samples/apidocs/raw-searchers.html
>>>>
>>>> You may find it more helpful, however, to search the Group  
>>>> archives.
>>>> Particularly, the following link will probably clarify things  
>>>> pretty
>>>> well.  Note, particularly, my post:
>>>>
>>>> http://groups.google.com/group/Google-AJAX-Search-API/ 
>>>> browse_thread/
>>>> t...
>>>>
>>>> Jeremy R. Geerdes
>>>> Effective website design & development
>>>> Des Moines, IA
>>>>
>>>> For more information or a project quote:http://
>>>> jgeerdes.home.mchsi.com
>>>> [EMAIL PROTECTED]
>>>>
>>>> Unless otherwise noted, any price quotes contained within this
>>>> communication are given in US dollars.
>>>>
>>>> If you're in the Des Moines, IA, area, check out Debra Heights
>>>> Wesleyan Church!
>>>>
>>>> On Nov 29, 2008, at 9:19 PM, Rossy wrote:
>>>>
>>>>
>>>>
>>>>> Thank you Jeremy,
>>>>> Do you know any good example on the web for using gotoPage();
>>>>
>>>>> Thanks,
>>>>> Ross
>>>>
>>>>> On Nov 29, 6:16 pm, Jeremy Geerdes <[EMAIL PROTECTED]> wrote:
>>>>>> Try using
>>>>>> gLocalSearch
>>>>>> .setResultSetSize(google.search.Search.LARGE_RESULTSET);
>>>>>> to increase the size of the resultset from 4 to 8.  For the  
>>>>>> second
>>>>>> question, you can access up to 64 results for most searchers
>>>>>> (only 32
>>>>>> results with LocalSearch, 8 with BlogSearch) in blocks of 8 by
>>>>>> using
>>>>>> the searcher's gotoPage method, as below:
>>>>
>>>>>> gLocalSearch.gotoPage(3);
>>>>
>>>>>> Jeremy R. Geerdes
>>>>>> Effective website design & development
>>>>>> Des Moines, IA
>>>>
>>>>>> For more information or a project quote:http://
>>>>>> jgeerdes.home.mchsi.com
>>>>>> [EMAIL PROTECTED]
>>>>
>>>>>> Unless otherwise noted, any price quotes contained within this
>>>>>> communication are given in US dollars.
>>>>
>>>>>> If you're in the Des Moines, IA, area, check out Debra Heights
>>>>>> Wesleyan Church!
>>>>
>>>>>> On Nov 29, 2008, at 7:26 PM, Rossy wrote:
>>>>
>>>>>>> Hi,
>>>>>>> I have the following onload function. I know how to change the
>>>>>>> number
>>>>>>> of results to large using the searcher method but now sure how  
>>>>>>> to
>>>>>>> get
>>>>>>> 8 results instead of 4 using the following searchform feature.
>>>>>>> My second question is that is there anyway of accessing and
>>>>>>> storing
>>>>>>> more than 8 results in the result set without using the draw
>>>>>>> option.
>>>>
>>>>>>> function OnLoad() {
>>>>
>>>>>>>    gSearchForm = new google.search.SearchForm(false,
>>>>>>> document.getElementById("searchform"));
>>>>>>>    gSearchForm.setOnSubmitCallback(null, CaptureForm);
>>>>>>>    gSearchForm.input.focus();
>>>>
>>>>>>>    gLocalSearch = new google.search.LocalSearch();
>>>>
>>>>>>> gLocalSearch.setSearchCompleteCallback(null, OnLocalSearch);
>>>>>>>    gSearchForm.execute("italian restaurants in san diego ");
>>>>>>>  }
>>>>
>>>>>>> Thanks,
>>>>>>> Ross
>>>>
>>
>>
>>>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to