Hello Woot -- The maximum length is dependent on the browser. Execute will append a script to the page, the source of that script is our service with your query appended to it, the response of that script is the results as JSON. So the length of your query must adhere to a browser's HTTP GET URL limit. You can look those up, but they vary from browser to browser.
-Ben On Dec 1, 1:52 pm, WootWoot1234 <[EMAIL PROTECTED]> wrote: > I am using google local search on my site: > > gLocalSearch = new google.search.LocalSearch(); > ... > var searchstring = "Restaurant -'Restaurant A' -'Restaurant B'"; > gLocalSearch.execute(searchstring); > > My question is, is there a max length of the variable 'searchstring' > that can be used with the command 'execute'? > > Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
