Category Archives: Custom Search Blog

Updates and tips from the Google Custom Search team

Rich results templates out-of-the-box

We’ve been hard at work making improvements to the Google Custom Search Element that will enhance the look and feel of search results when users type into your custom search query box. You’ll see some of the fruits of these labors starting today. We’ve just launched a set of templates that take advantage of rich snippets markup to provide customized results layouts for specific structured data. Your markup can enhance the display of structured information in addition to enabling the powerful metadata features, such as Sort by Attribute and Restrict to Range that we released last year.

For example, there’s a Review template that will show ratings and expand on-demand to display reviews within a result as shown in the screenshot below:


This specific treatment is used when you use hreview and hreview-aggregate Microformat markup on your pages. Template rendering changes are automatic if you use the Element.

Templates that we now support include: People, Product, Recipe, Organization, Review and Review Aggregate. Try these out at our demo search site. Here’s an example of a Recipe result, using a custom theme.


For more information on markup that you can use for Google.com and Custom Search, please refer to our documentation. Don’t forget that we also support image thumbnails and actions. Further, if you are marking up your pages, you can verify that we recognize the right attributes by using our Rich Snippets Preview Tool.

We are constantly adding support for additional markup formats, so stay tuned. We’re continuing to add innovative features to the Element to help you turbo-charge your Custom Search results presentation. As always, we look forward to your feedback.

Posted by: Edison Nica, Software Engineer

Improved On-Demand Indexing

When we launched On-Demand Indexing in Custom Search, our goal was to make it possible for you to include your new and changed pages quickly in your website’s search results. Since then, we’ve improved indexing freshness and doubled On-Demand indexing quotas. Today, we’re happy to announce further improvements to On-Demand Indexing that make the process simpler and more flexible.

First, we’re providing a new On-Demand Indexing API, which will allow you to initiate indexing actions programmatically. Your content management systems can trigger these new APIs when new content is being published, so that changes on your website are reflected automatically in Custom Search results.

Previously, you needed to provide validated Sitemaps in Webmaster Tools and then select a Sitemap for On-Demand Indexing in the Custom Search control panel. Now, to make this process simpler, you can submit Sitemaps directly within the Custom Search control panel. At this time, we will only consider URLs that belong to the same host serving the Sitemap and for sites verified by the owner of the Custom Search engine.

The best improvement: we now allow you to delete URLs from inclusion in your search. If a page on your site has been deleted, or has content that is inappropriate and you want to eliminate it from search results right away, you can list the URL in your sitemap and mark it for deletion by using an “expires” tag. For more information on this, and the new On-Demand Indexing API, please refer to our documentation. Based on the type of search engine you own, you have certain quotas for URL indexing and removal. You should be able to verify your quota usage in the control panel.


We hope that these changes make it easier for you to control the search experience for your users. As always, we look forward to your feedback.