Are you saying you want to mingle the results from your two searchers? 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 Mar 3, 2010, at 9:53 AM, xtranophilist wrote: > I tried making a search for lectures including power-point > presentations. > What I thought would be possible was : make two searchers - Custom > Search Engine and another web search with filetype restriction and > merge the results. It worked but not the way I wanted to, the results > were displayed differently, they did not merge. Are there any ways > this can be made to work? > > This is my code: > > > var searchControl = new google.search.SearchControl(); > var options = new google.search.SearcherOptions(); > cse1 = new google.search.WebSearch(); > cse1.setSiteRestriction('017576662512468239146:omuauf_lfve'); > searchControl.addSearcher(cse1,options); > web1=new google.search.WebSearch(); > web1.setQueryAddition("filetype:ppt"); > searchControl.addSearcher(web1,options); > searchControl.draw(document.getElementById("s2")); > searchControl.execute("test"); > > -- > 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.
