/customsearch/community?hl=en
This content is likely not relevant anymore. Try searching or browse recent questions.
-
3/22/19
I would like for every search to show the "Top 40" results on one page? 0 Recommended Answers 8 Replies 4 Upvotes
1 Recommended Answer
$0 Recommended Answers
I simply want each & every search to return the "Top 40" results, what is the easiest way to implement this in the google custom search? Can you please provide the exact code or step by step tutorial? Thank you.
Details
All Replies (8)
3/22/19
Hi David,

You can configure your CSE engine to display at the maximum 20 results for each query from CSE control panel > Search feature > Advance > Websearch Restricts > Results size and set it to 20. By default 10 results are displayed for every search.

Thanks
marked this as an answer
Helpful?
4/3/19
Hi, I find that no matter how many results I get on google custom search, it only shows 10 pages, any way for me to see more pages? 

Thank  you.
marked this as an answer
Helpful?
4/9/19
What . I am need
marked this as an answer
Helpful?
4/10/19
Hi Olivia,

CSE will only serve 10 pages (100 results). Since the estimated result are more than 100 you see the results navigation link 1 2 3 4 5 6 7 8 9 10 at the bottom of the 1st results set. As you navigate to next results set i.e by clicking on pagination 2 3 etc you will start seeing the exact result number. Now, if you directly click on 9 or 10 link it may so happen that there are no results and therefore you get the message "no results found". 

You can retrieve only a maximum of 100 results i.e 10 pages, in total. 

Thanks
marked this as an answer
Helpful?
4/19/19
I was wondering what the API does when you change this setting and then I found that it still always only returns 10 results.
marked this as an answer
Helpful?
4/19/19
Hi Eugene,

One of the ways to implement your CSE engine on your website is using the Search Element code (code provided on the CSE control panel) on your website.

The other way is retrieving results using JSON API (enabled from Cloud Developer Console) using the CSE configuration and parsing the JSON API results using your own custom application and converting it to HTML and serving to your users.

Like to update that Google Custom Search Engine (CSE) and JSON API (enabled from Cloud developer Console) are two different products. Since there is no built-in API with CSE engine, if users wants to reterive results using JSON API, one needs to use the API key (enabled from Cloud Developer Console) along with the CSE engine ID and query. The results will be served as per the CSE configuration.

For details on API, please visit:

Please review the document below to understand current CSE offerings:

Please be noted that using both i) Search Element code or ii) the JSON API (where key is taken from developer console) you can retrieve only a maximum of 100 results in total.

Thanks
marked this as an answer
Helpful?
-
5/3/19
What if I really want to display 40 results?  Please just double the amount it couldnt be that hard for one of you to do??
marked this as an answer
Helpful?
5/6/19
Hi David,

Its not possible.

Thanks
marked this as an answer
Helpful?
This question is locked and replying has been disabled.
Discard post? You will lose what you have written so far.
Write a reply
10 characters required
Failed to attach file, click here to try again.
Discard post?
You will lose what you have written so far.
Personal information found

We found the following personal information in your message:

This information will be visible to anyone who visits or subscribes to notifications for this post. Are you sure you want to continue?

A problem occurred. Please try again.
Create Reply
Edit Reply
Delete post?
This will remove the reply from the Answers section.
Notifications are off
Your notifications are currently off and you won't receive subscription updates. To turn them on, go to Notifications preferences on your Profile page.
Report abuse
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
This reply is no longer available.
/customsearch/threads
//accounts.google.com/ServiceLogin
You'll receive email notifications for new posts at
Unable to delete question.
Unable to update vote.
Unable to update subscription.
You have been unsubscribed
Deleted
Unable to delete reply.
Removed from Answers
Marked as Recommended Answer
Removed recommendation
Undo
Unable to update reply.
Unable to update vote.
Thank you. Your response was recorded.
Unable to undo vote.
Thank you. This reply will now display in the answers section.
Link copied
Locked
Unlocked
Unable to lock
Unable to unlock
Pinned
Unpinned
Unable to pin
Unable to unpin
Marked
Unmarked
Unable to mark
Reported as off topic
/customsearch/profile/0?hl=en