CSL: Using the Search Engine

The CS department maintains a separate index of our web site on the Duke search engine. Any user can add a search box to their web page which can search either the full Duke collection, or more specficially only the CS collection. This document describes the necessary procedure for doing this. Additional information about the search engine is also available.

If you want to include a CS search box that uses OIT's search appliance on any of your web pages, and limits your search to item on the CS web site, you can use this HTML code:

<form method="get" action="http://google.oit.duke.edu/search">
  <table>
    <tr>
       <td>
        <input type="text" name="q" size="25" maxlength="255" value=""/>
        <input type="submit" name="btnG" value="Search Computer Science"/>
        <input type="hidden" name="site" value="duke_collection"/>
        <input type="hidden" name="client" value="duke_collection"/>
        <input type="hidden" name="restrict" value="compsci"/> 
        <input type="hidden" name="proxystylesheet" value="duke_collection"/>
        <input type="hidden" name="output" value="xml_no_dtd"/>
      </td>
    </tr>
  </table>
</form>

to get a search box that looks like this:

To have the search be for all of Duke instead of just C.S., just omit the colored "restrict" line from the form above.