Hello Jeremy, Thanks for your suggestion but I do not think that is correct.
Start Parameter can be anything. Try the 2 urls below. They return the expected results. http://ajax.googleapis.com/ajax/services/search/local?v=1.0&q=cars&rsz=small&lr=lang_en&hl=en&start=23 http://ajax.googleapis.com/ajax/services/search/local?v=1.0&q=cars&rsz=small&lr=lang_en&hl=en&start=24 The point I am making is that once you go over 24 there are no results returned. E.g. http://ajax.googleapis.com/ajax/services/search/local?v=1.0&q=cars&rsz=small&lr=lang_en&hl=en&start=28 There should be 4 results returned for the query starting at 28 but there are none. Try the above url to prove it. Regards, Mark. On Sep 12, 4:01 pm, Jeremy Geerdes <[email protected]> wrote: > The start parameter needs to be a multiple of 4. In other words, you > can start at 24 or 28, but not 26. > > Jeremy R. Geerdes > Effective website design & development > Des Moines, IA > > For more information or a project > quote:http://jgeerdes.home.mchsi.comhttp://jgeerdes.blogspot.comhttp://jgeerdes.wordpress.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! > > And check out my blog, Adventures in Web Development, > athttp://jgeerdes.blogspot.com > ! > > On Sep 12, 2009, at 6:46 AM, MarkOG wrote: > > > > > Hello, > > > Why is the following search returning "out of range start": > >http://ajax.googleapis.com/ajax/services/search/local?v=1.0&q=cars&rs... > > > There should be 6 more results to retrieve because the start is set to > > 26. > > The result size is set to small so the query should return 4 results. > > Numbers 26, 27, 28 and 29. > > > Regards, > > Mark. > > > On Sep 3, 11:18 am, Jeremy Geerdes <[email protected]> wrote: > >> No. As I said in my previous post, the LocalSearch portion of the API > >> will return only up to 32results. There are no other legal options to > >> retrieve moreresults. > > >> Jeremy R. Geerdes > >> Effective website design & development > >> Des Moines, IA > > >> For more information or a project quote:http://jgeerdes.home.mchsi.comhttp > >> ://jgeerdes.blogspot.comhttp://jgeerdes.wordpress.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! > > >> And check out my blog, Adventures in Web Development, > >> athttp://jgeerdes.blogspot.com > >> ! > > >> On Sep 3, 2009, at 1:18 AM, Richardson wrote: > > >>> Hi Jeremy, > > >>> Thanks for the reply. > > >>> Now I am getting 32resultsat most. > > >>> API is providing 'MoreResults' link in thesearchresults. When I > >>> clicked on that link; API is giving moreresultsin a new browser. Is > >>> there any API to read thoseresults? > > >>> Regards, > >>> Richrads... > > >>> On Sep 2, 6:49 pm, Jeremy Geerdes <[email protected]> wrote: > >>>> You can currently get up to 32results, 8resultsat a time using the > >>>> JS API's gotoPage() method. For more information on using gotoPage, > >>>> check out the documentation at the link below: > > >>>>http://code.google.com/apis/ajaxsearch/documentation/ > >>>> reference.html#_... > > >>>> If you want to get all of theresultsfor simultaneous display, check > >>>> out my blog post at the link below. Make sure to check the > >>>> comments, > >>>> as there is an important bug fix in there. > > >>>>http://jgeerdes.blogspot.com/2008/12/how-to-get-all-results- > >>>> available... > > >>>> Jeremy R. Geerdes > >>>> Effective website design & development > >>>> Des Moines, IA > > >>>> For more information or a project > >>>> quote:http://jgeerdes.home.mchsi.comhttp > >>>> ://jgeerdes.blogspot.comhttp://jgeerdes.wordpress.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! > > >>>> And check out my blog, Adventures in Web Development, > >>>> athttp://jgeerdes.blogspot.com > >>>> ! > > >>>> On Sep 2, 2009, at 8:04 AM, Richardson wrote: > > >>>>> Hi, > >>>>> function abc() > >>>>> { > >>>>> ....... > >>>>> searchControl.setSearchCompleteCallback(this, gotResults); > >>>>> } > > >>>>> function gotResults(sc, searcher){ > >>>>> var restaurants = new Array(); > >>>>> for (i=0; i<searcher.results.length; i++){ > >>>>> ....... > >>>>> ....... > >>>>> } > >>>>> } > > >>>>> From the above code I am able to get 4resultsonly. How to get all > >>>>> reesults fromLocalsearchAPI. > > >>>>> Thanks in advance. > > >>>>> Regards, > >>>>> Richrads...- Hide quoted text - > > >>>> - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
