Advanced Custom Search Configuration

Monday, June 29, 2009 | 11:19 AM



Here's the presentation on Advanced Custom Search Configuration from Google I/O. You can navigate it with the help of a convenient timeline at YouTube, or download the presentation in PDF format. The talk features Nick Weininger from the Custom Search team on how to create a contextual search experience in minutes, along with details of the Custom Search APIs, including:In addition, Mark Nichoson from Adobe talked about Adobe Community Help, a customized search application that's available within apps in Adobe's Creative Suite 4. Joel Brandt from Adobe followed up with a description of Blueprint, an innovative application that integrates Custom Search into the Flex development environment.

For more information, please check out the Custom Search developer guide.

Automatic transliteration for Custom Search

Tuesday, June 16, 2009 | 10:38 AM

Mohamed Elfeky and Adel Youssef, Software Engineers

Typing is harder in some languages than others! When you're searching for content in a specific language, it is often convenient to think in that language, but type in another, e.g., English.

We've just made this easier to do in Custom Search. We've enabled transliteration in Custom Search for a set of languages, making it easier to find news in Arabic, Indian news in Hindi, your favorite Bollywood song lyrics, or local content in a bunch of other Indic languages - Kannada, Malayalam, Tamil and Telugu. Other languages will be enabled soon.

The Google Arabia blog recently posted information on Google Ta3reeb, enabling Arabic transliteration in various modes, including within Custom Search.

Here's a screenshot from oneindia.in, a website that has enabled transliteration in a set of Indian languages.

Users can type in English; automatic transliteration converts the query to Hindi, Kannada, Malayalam, Tamil, or Telugu, and helps find relevant content in that language.

Automatic transliteration can now be easily configured in the Custom Search control panel using the Language settings. It will enable conversion of Roman characters to the above languages, allowing users to search for content in these languages. After you turn transliteration on, you can select the specific transliteration languages your users can use.

After enabling transliteration, you can preview your search experience - a language button will show up before the search box, alerting users to the fact that transliteration is enabled, and that they can issue queries in that language while entering the queries in English. In fact, multiple languages can be selected for transliteration. As a query is entered, it is transliterated into the selected language in real-time.

Hit search, and results in the desired language are presented. Voila!

For more information on transliteration, you can check out our help center. As always, we're looking forward to your feedback on our user forum.

A search box for Blogger

Friday, May 29, 2009 | 10:36 AM

Nicholas Weininger, Software Engineer

Custom Search enables anyone to create a tuned search experience that's contextually relevant. For example:

  • Individuals can create a personalized search experience around their bookmarks, blogs, and public web sites
  • Web site owners can provide Site Search
  • Publishers can provide search across multiple publications
  • Communities can collaborate to create topical search engines across thousands of web pages
For bloggers, blogging platforms typically provide in-built search tools that allow searching across published blog posts, or across tags and categories. With Custom Search, you can go one step further: you can define a search experience that evolves over time, and includes not just your blog posts, but links extracted from those posts, as well as links from your blog's link lists and blog lists - in short, all items of interest related to your blog.

If you author a blog on Blogger, we've built a search gadget for you that does this - the AJAX Custom Search gadget creates a Linked Custom Search engine that automatically updates to allow your readers to search your blog's entire neighbo(u)rhood. It is a uniquely flavo(u)red search experience that gets richer over time. Search results appear inline, so your users don't have to leave your blog. The results inherit the look and feel of the blog, as shown in the screenshot below.

On Blogger, you can add the gadget with a couple of clicks:
  1. Edit your blog's layout (Page Elements tab)
  2. Click on "Add a Gadget" and configure the new "Search Box" gadget.
You can configure tabs that will allow your blog's readers to restrict their search to specific link lists or blog lists; you decide which ones you want to configure.

If you are using this gadget, we'd love to hear your feedback in our discussion group.

The AJAX Search and the Custom Search APIs have also been combined to create the Custom Search element that we recently announced at Google I/O.

Introducing the Custom Search Web Element

Tuesday, May 26, 2009 | 4:46 PM

Rajat Mukherjee, Group Product Manager and Nicholas Weininger, Software Engineer

Google Web Elements, unveiled today at Google I/O, build on your favorite Google products so you can easily add richness, interactivity and monetization to your website with the simplicity of copy and paste. We've packaged this simplicity into the new Custom Search element, making it even easier for you to add Google-quality search to your website. By helping your users find information faster, you can retain users on your website and monetize search with relevant Google ads. The element will allow you to create an interactive, inline search experience, so users don't need to leave the web page they are on in order to search.

You can create a Custom Search element in two convenient ways: via the Custom Search element wizard, or by selecting the appropriate options within the Custom Search control panel.

When you log on to the control panel, you'll see links to the Custom Search element wizard if you list your search engines (My search engines). If you click through to the wizard from the control panel, the appropriate search engine information is automatically extracted by the wizard -- all you need to do is preview your search results, and copy and paste the generated code into your website.

You can also generate the right code for embedding the Custom Search element into your website by going to the updated Get code tab in the control panel. A new option allows you to generate element code.


The Custom Search element supports Promotions, which let you highlight specific information for specific queries. Refinement Labels automatically appear as separate tabs in the element, so you can navigate quickly to the category of results that you're looking for. The screenshot below shows a preview of the search results in the element wizard.

While the Custom Search element is designed to help you get started quickly without spending time on the deep technical details, it is powered by Google's scalable and flexible developer APIs, including the AJAX Search and Custom Search APIs, offering a world of customization.

Let us know if there are further improvements we can make to this user experience. To learn more about Google Web Elements, check out the AJAX API blog.

Custom Search at Google I/O

Friday, May 22, 2009 | 1:19 PM

Saksiri Tanphaichitr, Software Engineer

If you're attending the upcoming Google I/O Developer Conference (May 27th and 28th), make sure to attend the sessions where we plan to discuss the latest Custom Search developments.

There are 2 sessions that will highlight Custom Search:

These sessions, part of the AJAX + Data APIs track, will discuss ways in which you can easily build, embed, and customize a contextual search experience on your website. You will learn how to develop advanced applications using the AJAX Search and Custom Search APIs, create dynamic experiences with Linked Custom Search, and programmatically provision Custom Search for your users. We'll also talk about interesting developer applications, as well as advanced presentation of search results including features that we recently launched: Rich Snippets and Promotions.

Adobe, one of our partners, will join us in discussing their use of Custom Search, and will also show interesting developer applications built on top of the Custom Search platform at the Developer Sandbox.

Here's a sneak peek:



We look forward to seeing you at Google I/O.

Custom Search promotions made easier

Monday, May 18, 2009 | 3:58 PM



Last year, we made it easier to promote relevant information to the top of your search results for specific queries, but there were still a couple of steps you had to take to make this happen. So now, we've made it easier than ever to create promotions in Custom Search. You can quickly configure specific webpages or information to display above your search results for specific queries, allowing you to highlight key events, announcements, services or products.

We've added a new Promotions tab to the Custom Search control panel to help you manage all your promotions.

Creating a promotion is easy - decide on the queries that should trigger a specific promotion, select a title and URL for your promotion, and add optional information, such as description and image thumbnail. The promotion edit pane also shows a preview of your promotion.

When you're done, promotions will display in your search results for the queries that match your trigger list. You can test a promotion by issuing one of the trigger queries in the control panel results preview.

A few pointers:

  • you can control the look and feel of the promotions to distinguish them from regular search results (through Promotion Design Settings)
  • you may want to create promotions to highlight information for popular queries on your search engine (use search statistics to identify them)
  • you should delete promotions when they are no longer relevant
  • our updated developer documentation includes more information on promotions

We hope to see useful promotions popping up in custom search results all over the web.

Don't miss the promotions when you search on the Custom Search website! We'd love to get your feedback on how we can make this feature even more useful.

Enabling Rich Snippets in Custom Search

Tuesday, May 12, 2009 | 10:40 AM

Rajat Mukherjee, Group Product Manager and Nicholas Weininger, Software Engineer

Today, we announced Rich Snippets for Google web search, a new presentation of snippets that highlight structured data embedded in web pages. Rich Snippets provide summary information, including important page-specific attributes, to help you quickly identify the relevance of your results. Experiments on Google have shown that people find this additional data valuable -- if they see useful and relevant information from a webpage, they are more likely to click through to it. Our web search team is currently experimenting with a limited set of attributes for reviews and user profiles that webmasters can provide through in-line markup in their web pages by using open standards such as microformats or RDFa.

Since Custom Search sits on top of the Google web search platform, we're enabling Rich Snippets for custom search engines too. In fact, Custom Search provides support for richer snippets; you can define your own custom attributes that we'll index and return with your custom search results. In addition to microformats and RDFa, you can also provide custom metadata within your web pages via special markup called page maps. A page map identifies specific attributes that are recognized and preserved by Google at index time, and returned along with search results for presentation.

So, if you're using Custom Search or Site Search on your website, you can now control further how your content appears in search results. You can showcase key information -- such as image thumbnails, summaries, ratings, and prices -- in your result snippets if you provide the appropriate markup on your pages. As in the example shown below, displaying specific attributes can make the snippet more useful for shoppers.


At this time, Rich Snippets attribute information for Custom Search is only returned in XML (via <PageMap> tags), so you can use your own customized presentation controls. We're looking to make this easier for you in the future. Indexing of the rich snippets information can have unspecified latency, as some pages are indexed and refreshed more frequently than others, and page map attributes may not be indexed from all web pages.

As an illustration, the web page featured in the following example provides custom information about an image thumbnail that is displayed in the rich snippet of the result along with date, author and category information.


A sample page map for the above example defines custom attributes that are encoded in DataObject tags via the following markup:


<!--
<pagemap>
<dataobject type="image">
<attribute name="image_src" value="http://www.nytimes.com/images/2009/03/14/business/14vend.751.jpg">
</dataobject>
<dataobject type="publication">
<attribute name="author" value="John Tagliabue">
<attribute name="date" value="March 14, 2009">
<attribute name="category" value="Business/World Business">
</dataobject>
</pagemap>
-->

If you are getting results back via XML, then the custom attributes are returned in the results within the PageMap tag, as shown below. You can parse the DataObjects within the PageMap tag and provide customized presentation of the relevant attributes.

<r n="1">
<u> http://www.xyz.com/business/vending_machine.html </u>
...
<t> In Italy, a Vending Machine Even Makes the <b>Pizza</b> </t>
...
<s>
The European vending machine industry has annual sales of about #33 billion, much of it coming from factories and offices.
</s>
...
<pagemap>
<dataobject type="image">
<attribute name="image_src" value="http://www.nytimes.com/images/2009/03/14/business/14vend.751.jpg">
</dataobject>
<dataobject type="publication">
<attribute name="author" value="John Tagliabue">
<attribute name="date" value="March 14, 2009">
<attribute name="category" value="Business/World Business">
</dataobject>
</pagemap>
...
</r>

Let us know if you have feedback about custom Rich Snippets. For more information, join us for a discussion on Advanced Custom Search Configuration at Google I/O on May 27.