University of Southern California

ITS Information Technology Services

A division of the Office of the Chief Information Officer

Using the New Google Site Search on Your Website

In 2010, USC Web Services made the decision to switch from in-house Google Search Appliances (GSAs) to the Google-hosted Site Search for the USC Home Page search. Site Search is the paid version of Google Custom Search, which many USC units already use for their web site searches.

Why we switched

Google Custom Search (CSE) and Site Search (GSS) offer significant benefits over the GSAs:

How this affects site owners at USC

USCs GSA contract expired at the end of 2010, which means that those web sites that are still using the GSA search will need to convert their searches to use GSS, set up their own CSE, or find another alternative.

Whether you are converting an exiting GSA search or are setting up a new search, here are the pros and cons to help you decide whether to use the USC GSS or set up your own CSE, plus links to instructions for both:


USC Site Search
Pros: Cons:

Developers who prefer to deal directly with the GSS should consult the Google WebSearch Protocol Reference for Google Site Search for details on constructing a search and interpreting XML output. The unique ID for USC's GSS is 017196764489587948961:0uzwqg1rcr4.

For those who prefer a 'drop-in' solution, ITS Web Services provides a PHP script that can be included in your custom results page at the location where results should be displayed. The following pages describe how to use this script:


Google Custom Search Engine
Pros: Cons:

For information on how to set up your own free Google Custom search, see http://www.google.com/cse/. (Hint: set up a new Gmail acount to administer the CSE, so that it is not tied to a personal email account.)


Google Search Coverage

Finally, whether you choose to use the USC GSS or set up your own CSE, you'll want to ensure that your site is fully indexed by Google. Check your site's coverage by going to http://www.google.com and searching for 'site:yoursite.usc.edu'.

If you find gaps in your search coverage, you are encouraged to use Google's Webmaster Tools to increase your site's visibility in Google. Go to http://www.google.com/webmasters/edu/quickstartguide/ to learn more.

Last updated:
February 01, 2011

Web Publishing Documentation

The use of all USC computing resources is governed by the USC Computing Policies.