A thesis student types climate arctic biodiversity into a search box. Some of the best documents never use the word biodiversity, and some that use all three words are useless. How can a machine that sees only three words find what the student needs, among billions of pages, in a fraction of a second? It cannot know what the student needs. It organizes the pages in advance into an index, estimates from the three words and other evidence how likely each page is to help, and returns the pages in the order of that estimate.
Information retrieval is the study of finding material, usually text, that satisfies an information need from within a large collection. Each part of the definition hides a difficulty. The need exists in someone's head and reaches the system only as a few typed words. The material is written by thousands of authors who never anticipated the query. "Satisfies" is a human judgment that no system can observe directly. Retrieval systems manage this uncertainty instead of removing it. They rank documents by an estimate of how likely each one is to be useful, and they are judged by how well that ranking agrees with people.
This topic surveys the field before the rest of the course examines its parts:
- First it defines the vocabulary (information need, query, document, collection, relevance) and separates retrieval from databases, natural language processing and recommender systems.
- Then it traces the field's history as a series of problems and the ideas that answered them.
- Next it follows a document and a query through a search engine, from the inverted index to the results page, first on a tiny collection and then at web scale.
- Finally it surveys where search is used, from the open web to law and medicine, and how to build an engine whose parts can be replaced.
Two examples run through the articles: the student's Arctic question, cut down to a few one-sentence documents, and the query jaguar, which could mean an animal or a car.
Articles
The field
- What information retrieval is: the problem retrieval solves and the two reasons it is hard, language and scale. The basic vocabulary, and how retrieval differs from database querying. Ambiguity and vocabulary mismatch, worked on six Arctic documents. What is at stake when systems decide what people see. Worked problems on every AND and OR query over the six documents.
- Relevance: what a system is trying to estimate. Why relevance resists definition, how needs change during a search, and why assessors who disagree still rank systems the same way, with the agreement statistics computed on a twelve-document example.
- A history of information retrieval: where today's methods came from, each as the answer to a problem. From microfilm selectors and punched cards to Cranfield, SMART, TREC, link analysis and learned rankers, and why old ideas keep surviving inside new systems.
How a search engine works
- The architecture of a search engine: what happens between a document and a ranked list. The indexing and query processes, four short documents carried through every stage by hand and through this site's own engine, and how the index limits what ranking can do.
- How a web search engine answers a query: what changes when the collection is the web. Navigational, informational and transactional queries; query rewriting; candidate generation and staged scoring; duplicate removal, diversity and snippets.
- Search at scale: how one query reaches an index spread over thousands of machines. Caching, replication, partitioning by document or by term, multi-stage ranking, tail latency and index freshness, with the sizes worked out for a billion documents.
Where search is used
- Search applications: what else is built from a search engine's parts. Desktop and web search, routing and filtering (with a filter's delivery threshold derived and worked on a twelve-document stream), classification and clustering, summarization, information extraction, question answering, expert finding, and multimedia retrieval.
- Search in professional domains: how search is done where a missed document is costly. Legal, medical, patent and scholarly search, where recall, authority and controlled vocabularies matter more than speed, and a systematic review search built block by block on thirty citations printed in full.
- Enterprise, personal, and product search: what is left to rank with when links and crowds are missing. Access control and its cost, sparse link structure, known-item search, facet counts on a small catalog, and ranking for purchase.
Building one
- Designing a modular search engine: how an engine is built so that one part can change while the rest stays fixed. Separating text analysis, indexing, query processing and ranking behind interfaces, so that each can be replaced and tested on its own, with a Python sketch run on the four Arctic documents. This site's own search engine is a second example, and the course project for this topic is worked in full.
What comes next
The rest of the course follows the pipeline, one stage per topic:
- Text processing and indexing turns raw documents into terms and builds the inverted index.
- Boolean retrieval answers exact-match queries against it.
- The vector space model introduces graded scores and term weighting.
- Evaluation defines how to tell whether one ranking is better than another.
- Probabilistic retrieval derives ranking from the probability of relevance.
- Classification and clustering organize documents rather than rank them.
- Web crawling gathers the collection in the first place.
- Topic modeling represents documents by latent themes instead of words.
Course materials
The course project built a search engine in stages, one component per topic. My versions of those components are in the information-retrieval repository on GitHub.
References
- Manning, C. D., Raghavan, P., and Schütze, H. (2008). Introduction to Information Retrieval, chapter 1. Cambridge University Press. record · 102 pages
- Croft, W. B., Metzler, D., and Strohman, T. (2010). Search Engines: Information Retrieval in Practice, chapters 1–2. Addison-Wesley. record · 12 pages
- van Rijsbergen, C. J. (1979). Information Retrieval, 2nd edition. Butterworths. record · 8 pages
- Sanderson, M., and Croft, W. B. (2012). The history of information retrieval research. Proceedings of the IEEE, 100 (Special Centennial Issue), 1444–1451. record · 2 pages
Reviewed: verified, 16 Nov 2026 · citations checked, 16 Nov 2026 · editorial review, 16 Nov 2026 · 4 revisions