Source: 01_Intro_IR.pdf
Information Retrieval is the science of finding unstructured material (mostly text/multimedia documents) that satisfies a user’s information need from large collections. Unlike data retrieval (e.g., SQL on a relational database, where one wrong record is total failure), IR deals with ambiguity: it must rank documents by their degree of relevance to a query, retrieving as many relevant items and as few irrelevant items as possible. Relevance is subjective and context-dependent (it changes with time, location, device, and the user’s task), so no IR system is ever perfect.
An IR system has a clear pipeline. Offline, documents are gathered (private collections or crawled from the Web), stored in a central repository, put through text operations (stopword removal, stemming, term selection), and indexed — usually with an inverted index (each distinct word maps to the list of documents containing it). Online, a user issues a query, which is parsed, corrected, and expanded into a “system query,” processed against the index to retrieve candidates, and finally ranked — the single most critical step for perceived quality.
The field is ancient (libraries and manual indexes for 5,000 years) but exploded with the Web (invented 1989 by Tim Berners-Lee). The Web universalized the freedom to publish and made web search the most prominent IR application. It also introduced new challenges (crawling, massive scale, scalability, web spam / adversarial retrieval) and new sources of evidence (hyperlinks, user clicks) for predicting relevance.
| Term | Meaning | Use Case |
|---|---|---|
| Information Retrieval (IR) | Finding unstructured material satisfying an information need from large collections | Web search engines, digital libraries |
| Information need | The underlying topic/question the user wants answered | Translated into a query |
| Query / index terms | Keywords summarizing the information need | Submitted to the system |
| Relevance | Degree to which a document satisfies the user’s need (central concept) | Basis of ranking & evaluation |
| Ranking | Ordering documents by likelihood of relevance | The most critical IR step |
| Inverted index | Data structure mapping each word → list of documents containing it | Fast query processing |
| Crawling | Automatically collecting web pages into a repository | Building a web search corpus |
| Text operations | Stopword removal, stemming, term selection | Reducing/normalizing index terms |
| TF-IDF | Term weighting scheme (term frequency × inverse document frequency) | Scoring term importance |
| Searching vs. Browsing | Querying with keywords vs. navigating via links | Lookup vs. exploratory tasks |
| Data retrieval | Exact-match retrieval over structured data | Relational databases |
| Web spam / Adversarial IR | Commercial junk disguised as content; retrieval that fights it | Ranking robustness |
| Information overload | Too much input exceeds processing capacity → worse decisions | Motivates filtering/ranking |
flowchart TD
A[Document Collection
private or crawled] --> B[Central Repository]
B --> C[Text Operations
stopwords, stemming, term selection]
C --> D[Build Inverted Index
OFFLINE]
E[User Information Need] --> F[Query Formulation]
F --> G[Query Parsing & Correction]
G --> H[Query Expansion
system query]
D --> I[Retrieval
match against index]
H --> I
I --> J[Ranking by relevance]
J --> K[Top results to user]
K --> L[Feedback / Evaluation]
L --> H