Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.
Web and Information Retrieval important questions with answers
Each answer starts with the short answer. Then come the points to write, a diagram and an exam tip. The questions under each topic are copied from the RGPV papers.
Q1. Information retrieval: meaning, taxonomy, retrieval process, components and issues
Asked 4 times in 2018, 2019, 2020 · Unit 1
From the papers
“Explain the issues in the process of Information Retrieval.” (Nov 2019, Dec 2020)
“Discuss the components of Information Retrieval system in detail.” (Nov 2019, Dec 2020)
“What do you mean by Information Retrieval? Give taxonomy of information Retrieval.” (Jun 2020)
“Differentiate Information and data retrieval.” (Jun 2020)
The short answer
Information retrieval (IR) finds documents in a large collection that are relevant to a user's information need, usually stated as a query. It returns them in ranked order. Unlike data retrieval, which returns exact matches from structured records, IR deals with unstructured text where relevance is a matter of degree.
Structured and browsing models: hypertext, flat and guided browsing.
Components of an IR system
Document collection and text operations (preprocessing).
Indexer that builds the inverted index.
Query interface and query operations.
Searching, matching and ranking.
Relevance feedback from the user.
Issues in IR
Relevance: deciding what the user really wants.
Vocabulary mismatch: car and automobile.
Scale and speed with billions of documents.
Evaluation of quality.
Spam, duplicates and changing web content.
Searching a college library for "data mining notes".
Data retrieval: SELECT * FROM books WHERE title = 'Data Mining'. A book titled "Mining of Massive Datasets" is missed.
IR: the query is split into terms data and mining; every document containing them gets a score.
Books with both terms many times rank first; books with one term rank lower.
The user sees a ranked list and can click the best match.
Real-life example
Asking a librarian for "something good on cricket history" is information retrieval: she judges what suits you and brings the best books first. Asking the issue counter for book number 4521 is data retrieval: there is exactly one right answer.
Figure: the information retrieval process
Same or opposite: information retrieval and data retrieval
Point
IR
Data retrieval
Same or opposite
Match
Best, partial
Exact
Opposite
Uses an index for speed
Yes
Yes
Same
Result
Ranked
Unranked set
Opposite
Example
Google search
Bank balance query
Opposite
Exam tip. Define IR, make the comparison table and draw the retrieval process. Add taxonomy, components or issues as the question asks.
Q2. Relevance feedback, query expansion and rewriting
Asked 4 times in 2018, 2019, 2020 · Unit 3
From the papers
“How do you expect that relevance feedback using negative judgement will affect the precision and recall?” (Nov 2019, Dec 2020)
“What do you mean by query expansion and rewriting?” (Jun 2020)
“What are the processing steps used in automatic relevance feed back to enhance user query? Explain.” (Nov 2018)
“Give the two major approaches to generating queries? Explain in detail.” (Nov 2018)
The short answer
Relevance feedback uses the user's judgement of the first results (relevant or not) to build a better query. Query expansion adds related terms to the query; query rewriting changes its form, for example correcting spelling or replacing words. The classic method is the Rocchio algorithm in the vector model.
Write these points
Steps in automatic relevance feedback
Run the original query and show the top results.
The user marks some as relevant and some as not relevant.
Add weights of terms from relevant documents; subtract those from non-relevant ones.
Run the new query and show better results.
Repeat if needed.
Rocchio formula
q' = α q + β (average of relevant vectors) − γ (average of non-relevant vectors), with typical α = 1, β = 0.75, γ = 0.15.
Approaches to query expansion
Approach
Source of new terms
User relevance feedback
Documents the user marked
Pseudo (blind) feedback
Assume the top k results are relevant
Global, thesaurus based
WordNet or a built thesaurus
Local clustering
Terms that co-occur in top documents
Query log based
What other users searched next
Effect of negative judgement on precision and recall
Negative feedback pushes the query away from bad documents, so precision usually rises.
It can also remove terms shared with some relevant documents, so recall may fall slightly.
q' = (1.75, 0.375, 1.375, 0.225). Term 2 entered the query; term 4 stays small.
Real-life example
When you ask a shopkeeper for "a phone" and say "not this one, more like that one with a big battery", he refines what he shows next. Relevance feedback lets the search engine learn from your reactions the same way.
Figure: one relevance feedback round
Same or opposite: relevance feedback and pseudo relevance feedback
Point
Relevance feedback
Pseudo feedback
Same or opposite
User effort
Marks documents
None
Opposite
Expands the query
Yes
Yes
Same
Risk
Users skip marking
Wrong top results mislead
Opposite
Accuracy
Higher
Lower
Opposite
Exam tip. Write the steps and the Rocchio formula. Work one small vector example and say how negative feedback changes precision and recall.
“Explain the concept of inverted index file. How it can be used in Information Retrieval?” (Nov 2019, Dec 2020)
“Differentiate indexing and searching. Give suitable examples for both of them.” (Jun 2020)
“Describe the usage of Cataloging and Indexing in Information Retrieval Systems.” (Nov 2018)
“What do you mean by concept indexing approach? Explain in detail with a suitable example.” (Nov 2018)
The short answer
Indexing builds a data structure that lets a system find documents containing given terms without reading every document. The main structure is the inverted index: a dictionary of terms, each with a postings list of documents (and often frequencies and positions). Searching then uses the index to answer queries fast.
Write these points
Building an inverted index
Collect documents and give each an ID.
Tokenise and preprocess (lowercase, remove stop words, stem).
Make (term, doc ID) pairs and sort them by term.
Merge pairs into postings lists with term frequencies.
Store the dictionary in memory, the postings on disk, often compressed.
Indexing and searching
Point
Indexing
Searching
When
Before queries, offline
At query time, online
Input
Documents
Query and index
Output
Inverted index
Ranked results
Example
Building a book's back index
Looking up a word in it
Cataloging, concept indexing and automatic indexing
Cataloging: recording a document's details such as title, author, subject (library catalogue, metadata).
Concept indexing: index by concepts, not only words, so "automobile" and "car" map to one concept.
Classes of automatic indexing: statistical (term frequency), natural language (phrases, parsing), concept (thesaurus), hypertext linkage (anchor text).
Inverted index for three documents.
D1: data mining finds data patterns. D2: web mining uses web links. D3: data warehouse stores data.
data → D1:2, D3:2. mining → D1:1, D2:1. web → D2:2. warehouse → D3:1.
Query data AND mining: {D1, D3} ∩ {D1, D2} = {D1}.
Query data OR web: {D1, D2, D3}. Only short lists are read, never the full documents.
Real-life example
The index at the back of a textbook lists each word with its page numbers. To find "recursion" you go straight to pages 45 and 112 instead of reading the whole book. An inverted index does this for millions of documents.
Figure: an inverted index
Same or opposite: inverted index and signature file
Point
Inverted index
Signature file
Same or opposite
Lookup
Term to postings
Bit pattern per document
Opposite
Speeds up search
Yes
Yes
Same
False matches
None
Possible
Opposite
Used by
Almost all search engines
Older systems
Opposite
Exam tip. Write the five building steps and draw a small index. Make the indexing and searching table. Answer a query using the postings lists.
Q4. Link analysis and ranking algorithms: PageRank and HITS
Asked 4 times in 2018, 2019, 2020 · Unit 4
From the papers
“Compare HITS and Page rank algorithm in detail.” (Nov 2019, Dec 2020)
“What is the use of ranking algorithm? Explain any one of ranking algorithms.” (Jun 2020)
“What is the use of ranking algorithm?” (Dec 2020)
“Define the following terms: Link Analysis” (Jun 2020)
The short answer
Link analysis uses the hyperlinks between web pages to judge their importance. PageRank gives each page a score from the scores of pages linking to it, like votes. HITS gives each page two scores: an authority score (good content, many good pages point to it) and a hub score (points to many good authorities). Ranking algorithms combine such scores with text relevance to order results.
Write these points
PageRank
PR(p) = (1 − d) ÷ N + d × Σ PR(q) ÷ L(q), over pages q linking to p; L(q) is q's number of out-links.
d (damping, about 0.85) models a surfer who keeps clicking; 1 − d is a random jump.
Computed once for the whole web, independent of the query.
Iterate until scores stop changing.
HITS
Start from pages matching the query and their neighbours (base set).
authority(p) = sum of hub scores of pages pointing to p.
hub(p) = sum of authority scores of pages p points to.
Normalise and repeat until stable.
Use of ranking algorithms
A query can match millions of pages. Ranking orders them so the most useful appear first, using text scores (tf-idf, BM25), link scores, freshness and user signals.
Repeating until stable gives A = 0.388, B = 0.215, C = 0.397. C ranks first; B, with one in-link from a page that splits its vote, ranks last.
HITS, start hub = 1: authority A = 1 (from C), B = 1 (from A), C = 2 (from A and B).
Hub A = auth B + auth C = 3, hub B = 2, hub C = 1. A is the best hub, C the best authority.
Real-life example
In a college, a teacher recommended by many senior teachers is highly respected (PageRank). A student who always suggests the best books is a good hub. The books themselves are good authorities (HITS).
Figure: a link graph with PageRank and HITS scores
Same or opposite: PageRank and HITS
Point
PageRank
HITS
Same or opposite
Scores per page
One
Two: hub and authority
Opposite
Uses the link graph
Yes
Yes
Same
Depends on the query
No
Yes
Opposite
Computed
Offline, once
At query time
Opposite
Exam tip. Write both formulas and draw a three page graph. Do one PageRank step and one HITS step, then make the comparison table.
Q5. Online IR systems, OPACs and snippet generation
Asked 4 times in 2018, 2019, 2020 · Unit 5
From the papers
“Explain snippet generation for online IR system.” (Nov 2019)
“Describe briefly Online IR systems and OPACs.” (Nov 2018)
“Write short notes on: Online IR system” (Dec 2020, Jun 2020)
The short answer
An online IR system lets users search a remote collection interactively over a network, such as bibliographic databases (DIALOG, MEDLINE), library catalogues and web search engines. An OPAC (online public access catalogue) is a library's searchable catalogue. Snippet generation builds the short text shown under each result so users can judge it without opening it.
Write these points
Features of online IR systems
Search by keywords, fields (title, author) and Boolean operators.
Ranked or sorted results with snippets.
Refinement: filters, facets, related searches.
Access from anywhere, many users at once.
Links to the full text or holdings.
OPAC
Search by title, author, subject, ISBN and keywords.
Shows location, call number and availability.
Lets users reserve or renew books.
Newer OPACs add relevance ranking, covers and reviews (discovery systems).
Snippet generation
Type
How
Example
Static
Fixed: first lines or a stored summary
Meta description of the page
Query dependent (dynamic)
Pick sentences that contain the query terms
Shows the line with "data mining" in bold
Score sentences by query term count, position and closeness of terms.
Highlight query terms; keep it about 2 lines.
Choosing a snippet for the query "inverted index".
Sentence 2: "An inverted index maps terms to documents." contains 2 query terms next to each other.
Sentence 3: "Each index is rebuilt nightly." contains 1 term.
Sentence 2 scores highest, so it becomes the snippet with inverted index in bold.
Real-life example
A railway enquiry website where you type a train number and get its live status is an online IR system. The few words shown under each Google result are snippets that help you choose which link to open.
Figure: query dependent snippet generation
Same or opposite: OPAC and a web search engine
Point
OPAC
Web search engine
Same or opposite
Collection
One library's books
The whole web
Opposite
Online and searchable
Yes
Yes
Same
Records
Structured catalogue
Unstructured pages
Opposite
Ranking
Simple or none
Complex
Opposite
Exam tip. Define online IR and OPAC. List features, then explain snippet types with a scored sentence example.
Q6. Digital libraries and digital library searches
Asked 4 times in 2018, 2019, 2020 · Unit 5
From the papers
“Discuss the relevance of Information Retrieval System in context of Digital libraries.” (Nov 2019)
“Differentiate between Digital Libraries and Data Warehouses.” (Nov 2018)
“How Digital Libraries can be used as Information base Systems?” (Nov 2018)
“Write short notes on: Digital Library searches” (Dec 2020, Jun 2020)
The short answer
A digital library (DL) is an organised collection of digital documents (books, journals, images, videos) with services to search, browse and access them over a network. Its search uses IR methods together with metadata, so it works as an information base system for its users.
Write these points
How digital libraries use IR
Full text indexing of documents plus metadata (Dublin Core: title, creator, subject).
Keyword, field and Boolean search; ranked results.
Browsing by subject, author or collection.
Federated search across several libraries at once.
Recommendations and citation links.
Digital library and data warehouse
Point
Digital library
Data warehouse
Content
Documents, media
Structured business data
Users
Students, researchers, public
Managers, analysts
Access
Search and read
OLAP queries, reports
Organised by
Metadata, subjects
Dimensions and facts
Issues in DL searches
Many formats and languages.
Scanned pages need OCR before text search.
Copyright and access rights.
Long term preservation.
Searching the National Digital Library of India.
A student searches "thermodynamics second law".
The DL matches the words in full text and in metadata fields such as subject.
Filters narrow results to Engineering, English, PDF.
The student opens a lecture note PDF and follows its citation to a textbook in the same library.
Real-life example
A digital library is like a college library open 24 hours on your phone. You search the shelves by typing, read books on screen and never wait for the issue counter.
Figure: services of a digital library
Same or opposite: digital library and traditional library
Point
Digital
Traditional
Same or opposite
Access
Anywhere, any time
In the building
Opposite
Organised with a catalogue
Yes
Yes
Same
Search
Full text
Catalogue only
Opposite
Copies
Many users at once
One per copy
Opposite
Exam tip. Define a DL, list how it uses IR, then give the DL and data warehouse table if asked. One search example finishes the answer.
Q7. Vector space model, term weighting and similarity measures
Asked 3 times in 2018, 2019, 2020 · Unit 2
From the papers
“Write and explain following models of information retrieval: Vector model” (Jun 2020)
“What are the three classical models in information retrieval system? Explain vector space retrieval model with example.” (Nov 2019)
“Explain in detail about Vector Weighting. What are the general problems with the Vector Model?” (Nov 2018)
“Explain the similarity measures that can be used in User search techniques.” (Nov 2018)
The short answer
The vector space model represents every document and query as a vector of term weights, usually tf-idf. Documents are ranked by their similarity to the query, most often the cosine of the angle between the two vectors. It allows partial matching and ranked output.
Write these points
Term weighting
tf: how often the term appears in the document.
idf = log (N ÷ df): rare terms get more weight.
Weight w = tf × idf.
Similarity measures
Measure
Formula
Note
Cosine
(q · d) ÷ (|q| |d|)
Most used; ignores length
Inner product
q · d
Favours long documents
Dice
2 |A ∩ B| ÷ (|A| + |B|)
For sets of terms
Jaccard
|A ∩ B| ÷ |A ∪ B|
For sets of terms
Advantages and problems
Advantages: partial match, ranking, simple and fast.
Problems: assumes terms are independent; ignores word order.
Synonyms (car, automobile) are not matched; polysemy (bank) confuses.
Weights are heuristic.
Ranking three documents for the query "data mining" (N = 3).
idf: data = log(3 ÷ 2) = 0.176, mining = 0.176, other terms = log 3 = 0.477.
D1 (data mining finds data patterns): data = 0.352, mining = 0.176, finds = 0.477, patterns = 0.477.
Cosines: D1 = 0.478, D3 = 0.327, D2 = 0.105.
Ranking: D1, D3, D2. D1 has both query terms, so it is first.
Real-life example
Two friends' tastes in films can be pictured as arrows. If the arrows point the same way, their tastes match, however many films each has seen. Cosine similarity compares documents and queries in the same way.
Figure: the vector space model
Same or opposite: vector model and Boolean model
Point
Vector
Boolean
Same or opposite
Match
Partial, graded
Exact yes or no
Opposite
Uses an inverted index
Yes
Yes
Same
Ranking
Yes
No
Opposite
Term weights
tf-idf
None
Opposite
Exam tip. Give the tf-idf and cosine formulas, the similarity table and the problems. Rank a few documents with numbers.
“Write and explain following models of information retrieval: Boolean model” (Jun 2020)
“Explain how coordination, Proximity, field level and stemming affect the broadness or narrowness of a query.” (Dec 2020)
“Explain the weighted searches of Boolean systems.” (Nov 2018)
“Write a short note on Standard Boolean approach with its key advantages and disadvantages.” (Dec 2020)
The short answer
The Boolean model treats a document as a set of terms and a query as a Boolean expression with AND, OR and NOT. A document is retrieved only if it satisfies the expression exactly, so there is no ranking. Weighted Boolean and extended Boolean systems add weights to allow partial matching and ranking.
Write these points
Advantages and disadvantages of the standard Boolean approach
Advantages
Disadvantages
Simple and precise
No ranking: all results are equal
Easy to implement with an inverted index
Exact match: too many or too few results
Users control the query fully
Hard for ordinary users to write
Fast
All terms count the same
Query broadness and narrowness
Coordination (AND, OR): AND narrows, OR broadens.
Proximity (NEAR, within n words): narrows to terms close together.
Field level (title:, author:): narrows to a field.
Terms carry weights in documents and queries. AND takes the minimum weight, OR takes the maximum (fuzzy), or the p-norm extended Boolean model is used. Results can then be ranked.
Boolean query on the three document index.
Postings: data → {D1, D3}, mining → {D1, D2}, web → {D2}.
data AND mining = {D1}. data OR web = {D1, D2, D3}.
mining AND NOT web = {D1, D2} − {D2} = {D1}.
(data OR web) AND mining = {D1, D2}. No ranking: D1 and D2 are shown as equally good.
Real-life example
Filtering a list of hostel rooms with "AC AND attached bathroom AND NOT top floor" is a Boolean query. You get exactly the rooms that fit, but the list does not tell you which is best.
Figure: making a Boolean query broader or narrower
Same or opposite: standard Boolean and extended Boolean
Point
Standard
Extended
Same or opposite
Match
Exact
Partial
Opposite
Uses AND, OR, NOT
Yes
Yes
Same
Ranking
No
Yes
Opposite
Term weights
No
Yes
Opposite
Exam tip. List advantages and disadvantages in a table. Explain how each query feature changes broadness. Show set operations on postings.
Q9. Web crawling: crawler-indexer architecture, focused crawling and uses of crawlers
Asked 3 times in 2019, 2020 · Unit 4
From the papers
“Explain the crawler indexer architecture.” (Nov 2019, Dec 2020)
“Explain how web crawlers can be used for general web search, vertical web search, web archival, web characterization, web mirroring and website analysis.” (Dec 2020)
“Discuss focused web crawling. Also list some important issues while crawling the web.” (Nov 2019)
“Define the following terms: Crawling” (Jun 2020)
The short answer
A web crawler (spider) downloads web pages automatically by following links, starting from seed URLs, so they can be indexed. The crawler-indexer architecture separates collecting pages (crawler) from building the index (indexer). Focused crawling fetches only pages on a chosen topic.
Write these points
Crawler-indexer architecture
URL frontier holds URLs to visit, ordered by priority.
Fetcher downloads pages, obeying robots.txt and a politeness delay per site.
Parser extracts text and links.
Duplicate checker drops URLs and content already seen.
New links go back to the frontier; text goes to the indexer.
Indexer updates the inverted index used by the query engine.
Uses of crawlers
Use
What is crawled
General web search
As much of the web as possible
Vertical search
One domain, such as jobs or shopping
Web archival
Snapshots over time (Wayback Machine)
Web characterization
Statistics: size, links, languages
Web mirroring
Copies of sites
Website analysis
Broken links, SEO checks
Focused crawling and crawling issues
Focused crawler: a classifier scores each page for the topic; links from relevant pages get higher priority.
Issues: politeness, freshness (re-crawl changed pages), duplicates, spider traps, dynamic pages, the deep web, scale.
How long a crawl takes.
Target: 1 billion pages. Speed: 1,000 pages a second.
Time = 10⁹ ÷ 1,000 = 10⁶ seconds.
10⁶ ÷ 86,400 = 11.6 days.
Popular pages change daily, so a real crawler re-visits them far more often than the rest.
Real-life example
A newspaper's reporters (crawlers) visit places and collect stories; the editors (indexer) sort them into sections so readers can find them. New leads from each story send reporters to new places.
Figure: crawler-indexer architecture
Same or opposite: general crawler and focused crawler
Point
General
Focused
Same or opposite
Pages fetched
Everything reachable
Only on one topic
Opposite
Follows links
Yes
Yes
Same
Resources
Very large
Smaller
Opposite
Used for
Web search
Vertical search
Opposite
Exam tip. Draw the architecture with the frontier loop. List the uses table and the main crawling issues.
Q10. Performance evaluation of search engines: precision, recall and other measures
Asked 3 times in 2019, 2020 · Unit 4
From the papers
“What are the various measures to evaluate the performance of search engines? Explain them in brief.” (Dec 2020, Jun 2020)
“What are the performance measures of a search engine?” (Nov 2019)
The short answer
Search engines are evaluated by how many relevant documents they return and how high they rank them. The basic measures are precision (share of retrieved documents that are relevant) and recall (share of relevant documents that are retrieved). Ranked measures include precision at k, MAP and nDCG; user measures include response time and click-through.
Write these points
Measures
Measure
Formula or meaning
Precision
relevant retrieved ÷ retrieved
Recall
relevant retrieved ÷ all relevant
F-measure
2PR ÷ (P + R)
Precision at k
precision of the top k results
MAP
mean of average precision over many queries
nDCG
rewards relevant results ranked higher
Fallout
non-relevant retrieved ÷ all non-relevant
Other measures
Response time and throughput.
Coverage of the web and freshness of the index.
User satisfaction, click-through rate, time to first click.
Spam and duplicate rate in the top results.
Precision and recall trade off
Returning more results raises recall but usually lowers precision. A precision-recall curve shows this for one system.
A query with 15 relevant documents in the collection.
The engine returns 10 documents; 6 of them are relevant.
Precision = 6 ÷ 10 = 0.6. Recall = 6 ÷ 15 = 0.4.
F1 = 2 × 0.6 × 0.4 ÷ (0.6 + 0.4) = 0.48.
If the relevant ones were at ranks 1, 2, 4, 5, 7, 9: precision at 5 = 4 ÷ 5 = 0.8.
Real-life example
A fisherman's net catches 10 fish, 6 of them the kind he wanted, out of 15 such fish in the pond. Precision says how clean his catch is (6 of 10). Recall says how much of the wanted fish he got (6 of 15).
Figure: precision and recall
Same or opposite: precision and recall
Point
Precision
Recall
Same or opposite
Divides by
Retrieved
All relevant
Opposite
Counts relevant retrieved documents
Yes
Yes
Same
Rises when
Fewer, better results
More results
Opposite
Matters most for
Web search
Legal, patent search
Opposite
Exam tip. Give the measure table with formulas. Draw the two set picture. Work precision, recall and F1 from numbers.
“Write short notes on: Web Personalization” (Nov 2019, Dec 2020, Jun 2020)
The short answer
Web personalization changes what a website or search engine shows to suit each user, using their profile, behaviour and context. It can personalise search results, recommendations, page layout and advertisements.
Match the profile to content using rules, content based filtering or collaborative filtering.
Present personalised results and learn from new actions.
Techniques
Technique
Idea
Example
Rule based
If a condition, then show content
Show Hindi pages to users in India
Content based filtering
Items like those the user liked
More cricket news after cricket clicks
Collaborative filtering
Items liked by similar users
"Customers also bought"
Context aware
Time, place, device
Nearby restaurants on mobile
Benefits and issues
Benefits: relevant results faster, higher engagement and sales.
Issues: privacy, filter bubbles, cold start for new users, wrong guesses.
Personalised search for "python".
User A often searches programming topics; User B watches wildlife videos.
Both type python.
User A's profile weights programming pages, so python.org ranks first.
User B sees pages on the snake first. The same query gives two different rankings.
Real-life example
A tea stall owner who knows you take less sugar starts making your tea that way as soon as you arrive. A personalised website remembers your preferences in the same way.
Figure: web personalization
Same or opposite: content based and collaborative filtering
Point
Content based
Collaborative
Same or opposite
Uses
Item features
Other users' choices
Opposite
Personalises results
Yes
Yes
Same
New item problem
No
Yes
Opposite
Finds surprises
Rarely
Often
Opposite
Exam tip. Write the four steps and the technique table. Mention privacy as the main issue. One search example is enough.
Q12. Probabilistic model and comparison of the classical models
Asked 2 times in 2018, 2020 · Unit 2
From the papers
“Write and explain following models of information retrieval: Probabilistic model” (Jun 2020)
“Give a comparative study of various classical models of information retrieval methods.” (Jun 2020)
“Explain in brief about Probabilistic weighting approach. What are the different areas in which the probabilistic approach may be applied?” (Nov 2018)
The short answer
The probabilistic model ranks documents by the probability that they are relevant to the query. This is the probability ranking principle. The binary independence model (BIM) treats terms as present or absent and independent. It gives each query term a weight from how often it appears in relevant and non-relevant documents.
Write these points
Key ideas
Rank by P(relevant | document, query).
Each matching term adds a weight; the sum is the score (retrieval status value).
Without relevance information, the weight is like idf: log ((N − n + 0.5) ÷ (n + 0.5)), with n = documents containing the term.
With feedback, weights are re-estimated from the documents marked relevant.
BM25 extends it with term frequency and document length.
Areas where it is applied
Web and enterprise search (BM25).
Spam and email filtering.
Relevance feedback systems.
Question answering and recommender systems.
Comparison of the classical models
Point
Boolean
Vector
Probabilistic
Basis
Set theory
Linear algebra
Probability
Ranking
No
Yes, cosine
Yes, probability
Partial match
No
Yes
Yes
Term weights
None
tf-idf
Learned from relevance
Weakness
Exact match only
Independence of terms
Needs initial guesses
Weight of a rare term.
Collection N = 1,000 documents. The term "lemmatizer" is in n = 10 of them.
A common term in 500 documents gets log10 (500.5 ÷ 500.5) = 0.
So a document matching "lemmatizer" scores far higher than one matching only the common term.
Real-life example
A doctor ranks possible illnesses by how likely each is, given the symptoms. A rare symptom points strongly to one illness; a cough points to many. The probabilistic model ranks documents with the same logic.
Figure: ranking in the probabilistic model
Same or opposite: vector and probabilistic models
Point
Vector
Probabilistic
Same or opposite
Score
Cosine similarity
Probability of relevance
Opposite
Ranks documents
Yes
Yes
Same
Theory
Geometry
Probability
Opposite
Assumes terms independent
Yes
Yes
Same
Exam tip. State the probability ranking principle and the term weight formula. Then make the three model comparison table.
“Explain Latent semantic indexing model of information retrieval.” (Jun 2020)
“Discuss Latent Semantic Indexing in detail. Also list some of its advantages and disadvantages.” (Nov 2019)
The short answer
Latent semantic indexing (LSI) reduces the term-document matrix with singular value decomposition (SVD) to a small number of hidden concepts. Documents and queries are compared in this concept space, so a document can match a query even if they share no exact words, as long as they share meaning.
Write these points
Steps
Build the term-document matrix A (terms × documents), with tf-idf weights.
Compute SVD: A = U Σ Vᵀ.
Keep only the k largest singular values (k about 100 to 300): A_k = U_k Σ_k V_kᵀ.
Map the query into the k dimensional space.
Rank documents by cosine similarity in that space.
Advantages
Handles synonyms: car and automobile end up close.
Reduces noise and storage.
Works for any language, no dictionary needed.
Disadvantages
SVD is costly for large collections.
Hard to update when new documents arrive.
Concepts are hard to interpret.
Choosing k is trial and error.
Why LSI matches a query with no shared words.
D1 has car, engine. D2 has automobile, engine. D3 has fruit, mango.
car and automobile both occur with engine, so SVD puts them on the same concept (vehicles).
The query automobile has no word in common with D1, so the vector model scores D1 as 0.
In the 2 concept space, D1 and D2 are near the query and D3 is far, so D1 is now retrieved.
Real-life example
If you tell a friend you want a "two wheeler", they suggest bikes and scooters even though you never said those words. They understand the idea behind your words. LSI tries to do this with documents.
Figure: latent semantic indexing
Same or opposite: vector model and LSI
Point
Vector model
LSI
Same or opposite
Space
Terms
Hidden concepts
Opposite
Uses cosine similarity
Yes
Yes
Same
Handles synonyms
No
Yes
Opposite
Cost
Low
High (SVD)
Opposite
Exam tip. Write the SVD steps with A = U Σ Vᵀ. List advantages and disadvantages. A synonym example shows why LSI helps.
“What are the five stages in document preprocessing?” (Dec 2020)
“Explain how clustering can be used for query expansion, document grouping, document indexing and visualization of search result.” (Dec 2020)
“What do you mean by cluster? Give the hierarchy of Clusters.” (Nov 2018)
The short answer
Document preprocessing turns raw text into index terms in five stages: lexical analysis, stop word removal, stemming, selection of index terms and thesaurus construction. Clustering groups similar documents together. In IR, clusters help query expansion, grouping, indexing and visualising results.
Write these points
Five stages of document preprocessing
Lexical analysis: split text into words; handle digits, hyphens, punctuation, case.
Stop word removal: drop very common words (the, is, of).
Stemming: reduce words to a stem (connected, connection → connect), e.g. Porter stemmer.
Index term selection: keep nouns or noun phrases that carry meaning.
Thesaurus construction: relate synonyms and broader or narrower terms.
Hierarchy of clusters
Hierarchical: agglomerative (merge closest pairs bottom up) or divisive (split top down), giving a dendrogram.
Flat (partitional): k-means divides documents into k groups.
Links between clusters: single link, complete link, average link.
Uses of clustering in IR
Use
How
Query expansion
Add terms from the cluster of top results
Document grouping
Show results in topic groups
Indexing
Search cluster centres first, then members
Visualisation
Map of topics in the result set
Preprocessing one sentence.
Text: "The Students are connecting to the Online Libraries."
Lexical analysis and lowercase: the, students, are, connecting, to, the, online, libraries.
Stop words removed: students, connecting, online, libraries.
Stemmed: student, connect, onlin, librari. These four become index terms.
Real-life example
Before arranging a library, staff remove torn covers and blank pages (preprocessing), then put books on similar subjects on the same shelf (clustering). Finding a book is then quick.
Figure: document preprocessing
Same or opposite: agglomerative and k-means clustering
Point
Agglomerative
k-means
Same or opposite
Result
Tree of clusters
k flat groups
Opposite
Groups similar documents
Yes
Yes
Same
Needs k in advance
No
Yes
Opposite
Speed on large data
Slow
Fast
Opposite
Exam tip. Write the five stages in order with one example word each. Explain the cluster hierarchy and the four uses.
Q15. Web search: IR and web search, meta search, deep web and search engine optimization
Asked 2 times in 2019, 2020 · Unit 4
From the papers
“What do you mean by Meta Search?” (Dec 2020)
“Differentiate between Information Retrieval and Web Search.” (Nov 2019)
“Write short notes on: Deep web” (Nov 2019)
“Write short notes on: Search Engine Optimization” (Nov 2019)
The short answer
Web search is IR on the whole web: billions of linked, changing, unevenly good pages. It differs from classic IR in scale, links, spam and users. A meta search engine sends a query to several search engines and merges their results. The deep web is content not reachable by ordinary crawling. Search engine optimization (SEO) improves a site's ranking in organic results.
Write these points
IR and web search
Point
Classic IR
Web search
Collection
Fixed, curated
Huge, changing, uncontrolled
Documents
Plain text
Linked HTML, media
Ranking signals
Text only
Text, links, clicks, freshness
Spam
Rare
Common
Users
Experts
Everyone, short queries
Meta search
Sends the query to several engines (dispatcher).
Collects their results and removes duplicates.
Merges and re-ranks them (rank fusion).
Wider coverage, but slower and limited by each engine.
Deep web
Pages behind forms, logins and search boxes; dynamic database pages.
Much larger than the surface web.
Reached by form filling crawlers, site maps and partner feeds.
Search engine optimization
On-page: useful content, title and headings with key terms, fast pages, mobile friendly.
Off-page: links from trusted sites.
Technical: sitemap, robots.txt, canonical URLs.
Avoid spam tricks such as keyword stuffing; engines penalise them.
Meta search merging two lists.
Engine 1 ranks pages A, B, C. Engine 2 ranks C, A, D.
Score by position: 3 points for 1st, 2 for 2nd, 1 for 3rd.
A = 3 + 2 = 5, C = 1 + 3 = 4, B = 2, D = 1.
Merged list: A, C, B, D. Duplicates were combined, not repeated.
Real-life example
A travel site that checks several airline sites and shows all fares together is a meta search. The flight details hidden behind each airline's booking form are like the deep web.
Figure: how a meta search engine works
Same or opposite: search engine and meta search engine
Point
Search engine
Meta search engine
Same or opposite
Own index
Yes
No
Opposite
Answers keyword queries
Yes
Yes
Same
Coverage
One engine's
Several combined
Opposite
Example
Google
Dogpile
Opposite
Exam tip. Give the IR and web search table. Explain meta search with a merge example. Add short notes on the deep web and SEO.
What are the most important topics in Web and Information Retrieval?
By how often they were asked in the papers on this site: Information retrieval: meaning, taxonomy, retrieval process, components and issues (4 times); Relevance feedback, query expansion and rewriting (4 times); Indexing: inverted index, cataloging, concept indexing, automatic indexing, indexing and searching (4 times); Link analysis and ranking algorithms: PageRank and HITS (4 times); Online IR systems, OPACs and snippet generation (4 times).
How were these Web and Information Retrieval important questions chosen?
Each topic was counted from the questions in the past papers listed on this site (2018-2020). Repeated is the number of times the topic came. The counts come from keyword matching and the answers are not teacher-reviewed, so use them together with your syllabus.
Is there a PDF of Web and Information Retrieval important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for Web and Information Retrieval is free to download from this page.
The 15 most repeated topics of Web and Information Retrieval (CI-802-C) for RGPV B.Tech CSIT semester 8, counted from the previous year papers on this site. Web and Information Retrieval is also searched for as CS-7004.