skip to content
 

Introduction

The search service at search.cam.ac.uk can be used to search University-wide or to search specific servers (or parts of servers). It can therefore be used by webmasters around the University to provide a search facility for their servers or for specific collections of information on their servers without the need to run search software locally, assuming that the servers are being indexed for searching and that the scope of the indexing and the available search facilities meet their needs. If you are unsure whether your web content is being indexed, email  telling us the URLs of the web content concerned.

The new search interface uses filtering parameters differently to the old interface but the old parameters are rewritten into the new format by the frontend so previous customisation will continue to work.

The search service at search.cam.ac.uk will search the whole University index. It allows the following:

  • specification of an institution (the "inst" parameter) to limit results to that institution
  • specification of  a search tag (the "tag" parameter) that refers to a list of urls that should be searched.

In order to edit existing values for these parameters or add new ones please email search-support@uis.cam.ac.uk.

Examples of the code to paste into your page to use filters are shown below. To change the text on the search button, alter the text in value="" that comes after 'input type="submit"' (shown in the example as 'Search UIS news'. There are some additional attributes that should be added for accessibility purposes - the 'label' attribute ties the label to the appropriate input, and the accesskey value allows people using the University templates and a speaking browser easy access to search.

<form method="get" action="https://help.uis.cam.ac.uk/%3Ca%20href%3D"http://search.cam.ac.uk/web">http://search.cam.ac.uk/web"> <label for="query">Enter your search</label>
    <p>
        Enter your search: <input type="text" name="query" />
        then select <input type="submit" value="Search Physics" id="query" accesskey="4" />
        <input type="hidden" name="inst" value="PHY" />
    </p>
</form>

When this search is used the results come back as follows:

<form method="get" action="https://help.uis.cam.ac.uk/%3Ca%20href%3D"http://search.cam.ac.uk/web">http://search.cam.ac.uk/web"> <label for="query">Enter your search</label>
    <p>
        Enter your search: <input type="text" name="query" />
        then select <input type="submit" value="Search Physics CTA" id="query" accesskey="4" />
        <input type="hidden" name="tag" value="cta" />
    </p>
</form>

When this search is used the results come back as follows:

Dynamic search filters

There are some cases where it is impractical to manually create a search filter in our system for every filtered search you want to do.  Examples include: limiting the search to specific issues of the reporter, or to the pages of individual users. We have developed an alternative mechanism for these situations.

To perform a dynamic filtered search, use the following parameter in your URL:

include - A comma-separated list of URLs to include or exclude if prepended by -

A search result will only be displayed if it matches one or more include URLs, and does not match any URLs prepended by -.

An example would be:

<form method="get" action="https://help.uis.cam.ac.uk/%3Ca%20href%3D"http://search.cam.ac.uk/web">http://search.cam.ac.uk/web"><p>
Enter your search: <input type="text" name="query" />
then select <input type="submit" value="Search University research articles excluding COVID" />
<input type="hidden" name="include" value="http://www.cam.ac.uk/research,-covid" />
</p></form>

 

Notes about html encoding

When characters that have special meaning in HTML (in particular, "<", "&", and ">") are needed as normal text they must be encoded as HTML named or numeric character entities.

Comments and questions about the topics covered in these documents can be sent to 

Last updated: April 2021

UIS Service Desk

UIS Service Status

Phone padded  Service status line: (01223 7)67999
Website  Sign up for SMS/email status alerts
Website  Read major IT incident reports

UIS bITe-size bulletin

A regular newsletter aimed at the University's IT community, highlighting service and project news from UIS.

Sign up >

Latest news

Lecture capture (Panopto) public video sharing options to be disabled

5 August 2021

We are disabling the public video sharing options in Panopto, the University’s online platform for lecture capture and educational videos, to protect the University from unintended additional costs. No videos will be lost as a result of this change, but you will need to download any videos that you wish to continue to...

Turnitin maintenance: Saturday 14 August 16:00–18:00

4 August 2021

Turnitin will be undergoing essential maintenance on Saturday 14 August during 16:00–18:00 BST. Please be aware that submissions or grading for Turnitin Assignments in Moodle will not be possible during this time. We therefore advise that submission deadlines are set outside this maintenance window. Follow @TurnitinStatus...

Easier way for Departments and NSIs to get ‘bolt-on’ Office 365 licences for staff

4 August 2021

It will be quicker, easier, and cheaper to for Departments to get bolt-on product licences to add to individual users’ Office 365 licences from 1 October 2021. The new process will apply to individual licences for products such as Visio, Project and PowerBI that are not included under the Microsoft EES Agreement. UIS will...