Knowledge / Library and Information Science / Information retrieval and indexing

Information retrieval and indexing

Library and Information Science (B.LISc) · Knowledge organisation · free study notes for exams, placements and interviews

In short

Information retrieval (IR) is the process of representing, storing, organising and searching recorded information so that a user's query brings back the documents that answer it. Indexing is the representation side of that process: deciding what a document is about and expressing it in terms a searcher can match. In B.LISc courses these two are examined together as the "retrieval" half of knowledge organisation, alongside classification and cataloguing, and they underpin OPACs, institutional repositories, library discovery layers and the search engines that every reader now uses. Indian recruiters who test this topic include university and IIT/IIM/IISc libraries, DRDO, ISRO, CSIR and ICAR laboratory information centres, CSIR-NIScPR (formerly NISCAIR) and similar documentation units, DELNET, INFLIBNET (Shodhganga, Shodh Shuddhi, e-ShodhSindhu), Parliament and High Court libraries, and the many publishers, legal databases and e-commerce firms that hire LIS graduates as taxonomists and metadata analysts. It is also the core of the UGC-NET Library and Information Science Paper II unit on information processing and retrieval.

Explained

What information retrieval is, and the classical model

Indexing: definition, process and types

Pre-coordinate indexing systems

Post-coordinate indexing and search logic

Vocabulary control tools and standards

Automatic indexing, ranking models and evaluation

Key points

Formulas and examples

Precision P = a / (a + b) = relevant retrieved / total retrieved (dimensionless, usually %)
Recall R = a / (a + c) = relevant retrieved / total relevant in collection
Fallout = b / (b + d) = non-relevant retrieved / total non-relevant
F-measure (F1) = 2PR / (P + R); general Fβ = (1 + β²)PR / (β²P + R)
where a = relevant retrieved, b = non-relevant retrieved, c = relevant not retrieved, d = non-relevant not retrieved
Term frequency tf(t,d) = count of term t in document d (often 1 + log tf)
Inverse document frequency idf(t) = log₁₀ (N / df(t)); N = documents in collection, df = documents containing t
Weight w(t,d) = tf × idf
Cosine similarity sim(q,d) = (Σ wq,i · wd,i) / (√Σ wq,i² · √Σ wd,i²); value 0 to 1
Chain index entries from a chain of n links = number of sought links (never more than n)

Example 1 - precision, recall and F1. A Koha OPAC search for "water harvesting" in a collection of 10,000 records retrieves 80 records. The searcher judges 60 of them relevant. A later exhaustive check shows the collection holds 100 relevant records.

Example 2 - the precision-recall trade-off. Broadening the same search with OR and truncation (water* OR rainwater OR watershed) now retrieves 200 records, of which 90 are relevant.

Example 3 - TF-IDF weights. Collection N = 1,000 documents. Document D mentions *groundwater* 20 times and *hydrology* 5 times. *groundwater* appears in 100 documents, *hydrology* in 10.

Example 4 - chain index entries. Class number for "Cataloguing of maps in university libraries", chain: Library science → Library operations → Cataloguing → Maps → University libraries. Sought links: Cataloguing, Maps, University libraries; "Library operations" judged unsought.

Example 5 - Boolean set sizes and a false drop. Postings: *solar* = 1,200 documents, *pump* = 800, both terms = 150.

FeaturePre-coordinatePost-coordinate
Who combines conceptsIndexer, before filingUser, at search time
Citation orderFixed, must be learntNone needed
MediumPrinted indexes, card cataloguesDatabases, OPACs, web
FlexibilityLowHigh
False dropsRare (context preserved)Common without links/roles
ExamplesChain, PRECIS, POPSI, LCSH stringsUniterm, Boolean databases, Solr/Lucene
ModelRepresentationOutputStrengthWeakness
BooleanSets of termsUnranked setPrecise, transparent, reproducibleNo ranking, no partial match, needs skill
Vector spaceWeighted term vectorsRanked by cosinePartial match, ranking, feedback easyAssumes term independence
Probabilistic (BM25)Relevance probabilityRanked listTheoretically grounded, strong in practiceNeeds parameter tuning/training data
Semantic / neuralDense embeddingsRanked listHandles synonyms and paraphraseOpaque, compute-heavy, needs large corpora

Where it is used

Interview questions

Common mistakes

Related topics

Open in the Knowledge reader →Find jobs →