A search engine can return thousands of web pages, but how does it know whether they are relevant or not? First step is how to measure relevance, as Dr Max Wilson explains.