If you use the search form provided in the template starter page without modification, your form will use the default CBIS search engine scope, which includes all sites within the *.bsd.uchicago.edu domain. In order to target your search form to return results from your site only, you must do two simple things:
The form action and inputs are required.
Search syntax for a general BSD-wide search (not site specific)
<form method="get" id="gs" class="gs" action="http://adm-search.uchospitals.edu/search">
<input type="text" name="q" size="12" maxlength="100" value="" class="formInput" />
<input type="image" src="img/button_search.gif" class="imgover" alt="Search this site" align="absmiddle" />
</form>
Example searching all of BSD (you will see results from different sites with the BSD):
Search syntax with a site restriction (limited to your_collection_name)
<form method="get" id="gs" class="gs" action="http://adm-search.uchospitals.edu/search">
<input type="text" name="q" size="12" maxlength="100" value="" class="formInput" />
<input type="image" src="img/button_search.gif" class="imgover" alt="Search this site" align="absmiddle" />
< type="hidden" name="site" value="your_collection_name" />
</form>
Example searching with a site restriction, in this case pritzker.uchicago.edu (all results will come from pritzker.uchicago.edu):
Search syntax with a site restriction and a custom results page
<form method="get" id="gs" class="gs" action="http://adm-search.uchospitals.edu/search">
<input type="text" name="q" size="12" maxlength="100" value="" class="formInput" />
<input type="image" src="img/button_search.gif" class="imgover" alt="Search this site" align="absmiddle" />
<input type="hidden" name="site" value="your_collection_name" />
<input type="hidden" name="client" value="your_collection_name" />
<input type="hidden" name="output" value="xml_no_dtd" />
<input type="hidden" name="proxystylesheet" value="your_collection_name" />
</form>
Example searching with a site restriction and a custom results page, in this case pritzker.uchicago.edu (all results will come from pritzker.uchicago.edu, and will be 'branded' with The Pritzker School of Medicine look and feel):