Call gLocalSearch.setResultSetSize(google.search.Search.LARGE_RESULTSET); before you run the gLocalSearch.execute();
Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com [email protected] If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Jun 24, 2010, at 3:22 PM, mandvika rathore wrote: > It didn't solve my problem..So here it is again with details- > > I have another problem. I used this example --- > http://www.google.com/uds/samples/places.html > to develop a page with custom search form using > google.search.SearchForm. As given in this example too, I see only > four results of a search. I tried to use options.setExpandMode and > passed EXPAND_MODE_OPEN as a variable but it didn't work. Probably, > because I am using a custom search form. > The code I wrote is - > > gSearchForm = new google.search.SearchForm(false, > document.getElementById("searchform")); > gSearchForm.setOnSubmitCallback(null, CaptureForm); > gSearchForm.input.focus(); > > function CaptureForm(searchForm) { > var wifisearch= "wifi"+" "+searchForm.input.value; > gLocalSearch.execute(wifisearch); > return false; > } > > I don't understand why only 4 results are displayed? > What I want is use the custom form but display all the results with > pagination . How can I achieve this. If you could help, it will be > great. > > -- > 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. > -- 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.
