You can currently retrieve 4 or 8 results via the Search API using the 
searcher's .setResultSetSize method in the JS API or sending the rsz parameter 
on the RESTful side of things. In either case, possible arguments are small 
(for 4 results) or large (for 8 results). If you're using a filtered CSE, there 
is an additional option for that, but you're not doing that.

That said, and without being able to see your code, if you're only retrieving 2 
results from the API, it may be that the API is only going to return 2 results 
for your query.

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 May 15, 2010, at 8:10 AM, Robi wrote:

> Hi,
> 
> I would like to pull and display 6 - 12 images in my website by
> running a keyword query using Google AJAX API. According to Google
> documentation and sample code, I'm getting two image as the result.
> But I'm searching over forums and documentations for how can I define
> the number of image search result that I want to retrieve. I've not
> found it yet. Even I'm not sure if it's possible to get more images
> through API.
> 
> Can anyone please help?
> 
> Thanks!
> Robi
> 
> -- 
> 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.

Reply via email to